aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental/svg/model/SkSVGShape.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'experimental/svg/model/SkSVGShape.cpp')
-rw-r--r--experimental/svg/model/SkSVGShape.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/experimental/svg/model/SkSVGShape.cpp b/experimental/svg/model/SkSVGShape.cpp
index 516d4a2925..38af4c9303 100644
--- a/experimental/svg/model/SkSVGShape.cpp
+++ b/experimental/svg/model/SkSVGShape.cpp
@@ -12,11 +12,11 @@ SkSVGShape::SkSVGShape(SkSVGTag t) : INHERITED(t) {}
void SkSVGShape::onRender(const SkSVGRenderContext& ctx) const {
// TODO: this approach forces duplicate geometry resolution in onDraw(); refactor to avoid.
- if (const SkPaint* fillPaint = ctx.presentationContext().fillPaint()) {
+ if (const SkPaint* fillPaint = ctx.fillPaint()) {
this->onDraw(ctx.canvas(), ctx.lengthContext(), *fillPaint);
}
- if (const SkPaint* strokePaint = ctx.presentationContext().strokePaint()) {
+ if (const SkPaint* strokePaint = ctx.strokePaint()) {
this->onDraw(ctx.canvas(), ctx.lengthContext(), *strokePaint);
}
}