未验证 提交 7c126001 编写于 作者: A amirh 提交者: GitHub

Remove extraneous const from PhysicalLayerRRect::getPath (#4490)

This caused a breakage on mac due to inconsistent signatures for
declaration and implementation.
上级 0b158a6b
...@@ -97,7 +97,7 @@ void PhysicalModelLayer::DrawShadow(SkCanvas* canvas, ...@@ -97,7 +97,7 @@ void PhysicalModelLayer::DrawShadow(SkCanvas* canvas,
dpr * 800.0f, 0.039f, 0.25f, color, flags); dpr * 800.0f, 0.039f, 0.25f, color, flags);
} }
const SkPath PhysicalLayerRRect::getPath() const { SkPath PhysicalLayerRRect::getPath() const {
SkPath path; SkPath path;
path.addRRect(rrect_); path.addRRect(rrect_);
return path; return path;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册