Index: src/gpu/GrContext.cpp |
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp |
index 2ca3461a692917a1c2a97c2bb5a42aa8f41a1b1c..4d2f2e79457bdc39503da75c5eedccb6592683a7 100644 |
--- a/src/gpu/GrContext.cpp |
+++ b/src/gpu/GrContext.cpp |
@@ -539,8 +539,7 @@ void GrContext::flushSurfaceWrites(GrSurface* surface) { |
* Due to its expense, the software path renderer has split out so it can |
* can be individually allowed/disallowed via the "allowSW" boolean. |
*/ |
-GrPathRenderer* GrContext::getPathRenderer(const GrDrawTarget* target, |
- const GrPipelineBuilder* pipelineBuilder, |
+GrPathRenderer* GrContext::getPathRenderer(const GrPipelineBuilder* pipelineBuilder, |
const SkMatrix& viewMatrix, |
const SkPath& path, |
const GrStrokeInfo& stroke, |
@@ -552,7 +551,7 @@ GrPathRenderer* GrContext::getPathRenderer(const GrDrawTarget* target, |
fPathRendererChain = new GrPathRendererChain(this); |
} |
- GrPathRenderer* pr = fPathRendererChain->getPathRenderer(target, |
+ GrPathRenderer* pr = fPathRendererChain->getPathRenderer(this->caps()->shaderCaps(), |
pipelineBuilder, |
viewMatrix, |
path, |