Index: src/gpu/GrPathRendererChain.cpp |
diff --git a/src/gpu/GrPathRendererChain.cpp b/src/gpu/GrPathRendererChain.cpp |
index 5c3f1c9a4f8b585bc956c7d60f6a13ab3f6eb551..0ba9364cd4f9dfac9f2b1046ff3a0faaa72d5068 100644 |
--- a/src/gpu/GrPathRendererChain.cpp |
+++ b/src/gpu/GrPathRendererChain.cpp |
@@ -33,6 +33,7 @@ GrPathRenderer* GrPathRendererChain::addPathRenderer(GrPathRenderer* pr) { |
GrPathRenderer* GrPathRendererChain::getPathRenderer(const GrDrawTarget* target, |
const GrDrawState* drawState, |
+ const SkMatrix& viewMatrix, |
const SkPath& path, |
const SkStrokeRec& stroke, |
DrawType drawType, |
@@ -59,7 +60,7 @@ GrPathRenderer* GrPathRendererChain::getPathRenderer(const GrDrawTarget* target, |
for (int i = 0; i < fChain.count(); ++i) { |
- if (fChain[i]->canDrawPath(target, drawState, path, stroke, antiAlias)) { |
+ if (fChain[i]->canDrawPath(target, drawState, viewMatrix, path, stroke, antiAlias)) { |
if (GrPathRenderer::kNoSupport_StencilSupport != minStencilSupport) { |
GrPathRenderer::StencilSupport support = fChain[i]->getStencilSupport(target, |
drawState, |