Index: src/gpu/GrStencilAndCoverPathRenderer.cpp |
diff --git a/src/gpu/GrStencilAndCoverPathRenderer.cpp b/src/gpu/GrStencilAndCoverPathRenderer.cpp |
index 0271b22a9aab8f0a9cf6ebc4f932b8d27f932e5c..273c01b8618cec3cfdd4c47aade162c035785d2c 100644 |
--- a/src/gpu/GrStencilAndCoverPathRenderer.cpp |
+++ b/src/gpu/GrStencilAndCoverPathRenderer.cpp |
@@ -55,7 +55,7 @@ void GrStencilAndCoverPathRenderer::onStencilPath(const SkPath& path, |
const SkStrokeRec& stroke, |
GrDrawTarget* target) { |
SkASSERT(!path.isInverseFillType()); |
- SkAutoTUnref<GrPath> p(fGpu->createPath(path, stroke)); |
+ SkAutoTUnref<GrPath> p(fGpu->getContext()->createPath(path, stroke)); |
target->stencilPath(p, path.getFillType()); |
} |
@@ -69,7 +69,7 @@ bool GrStencilAndCoverPathRenderer::onDrawPath(const SkPath& path, |
GrDrawState* drawState = target->drawState(); |
SkASSERT(drawState->getStencil().isDisabled()); |
- SkAutoTUnref<GrPath> p(fGpu->createPath(path, stroke)); |
+ SkAutoTUnref<GrPath> p(fGpu->getContext()->createPath(path, stroke)); |
if (path.isInverseFillType()) { |
GR_STATIC_CONST_SAME_STENCIL(kInvertedStencilPass, |