Index: experimental/svg/model/SkSVGShape.cpp |
diff --git a/experimental/svg/model/SkSVGShape.cpp b/experimental/svg/model/SkSVGShape.cpp |
index 516d4a2925e0658f97616c012eb35e8b519a0f70..38af4c9303b39ae13e2c7791396173a201b1c6db 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); |
} |
} |