Index: src/gpu/GrPathRendererChain.cpp |
diff --git a/src/gpu/GrPathRendererChain.cpp b/src/gpu/GrPathRendererChain.cpp |
index c2f395cac33c6ecd82b59096c5d1b2609fde8864..b1eb3202bfdc93e1849cebfff5f76a0c4d99421f 100644 |
--- a/src/gpu/GrPathRendererChain.cpp |
+++ b/src/gpu/GrPathRendererChain.cpp |
@@ -39,7 +39,7 @@ GrPathRenderer* GrPathRendererChain::addPathRenderer(GrPathRenderer* pr) { |
return pr; |
} |
-GrPathRenderer* GrPathRendererChain::getPathRenderer(const GrDrawTarget* target, |
+GrPathRenderer* GrPathRendererChain::getPathRenderer(const GrShaderCaps* shaderCaps, |
const GrPipelineBuilder* pipelineBuilder, |
const SkMatrix& viewMatrix, |
const SkPath& path, |
@@ -69,7 +69,7 @@ GrPathRenderer* GrPathRendererChain::getPathRenderer(const GrDrawTarget* target, |
for (int i = 0; i < fChain.count(); ++i) { |
GrPathRenderer::CanDrawPathArgs args; |
- args.fShaderCaps = target->caps()->shaderCaps(); |
+ args.fShaderCaps = shaderCaps; |
args.fPipelineBuilder = pipelineBuilder; |
args.fViewMatrix = &viewMatrix; |
args.fPath = &path; |