Index: src/gpu/GrDrawContext.cpp |
diff --git a/src/gpu/GrDrawContext.cpp b/src/gpu/GrDrawContext.cpp |
index eabdfd2059c93bf91abb5919e43a4ad85afa88dd..5a496d2517cfc0dbd5018a02c742b6d9d5d522cf 100644 |
--- a/src/gpu/GrDrawContext.cpp |
+++ b/src/gpu/GrDrawContext.cpp |
@@ -1183,7 +1183,16 @@ void GrDrawContext::internalDrawPath(GrDrawTarget* target, |
return; |
} |
- pr->drawPath(target, pipelineBuilder, color, viewMatrix, *pathPtr, *strokeInfoPtr, useCoverageAA); |
+ GrPathRenderer::DrawPathArgs args; |
+ args.fTarget = target; |
+ args.fResourceProvider = fContext->resourceProvider(); |
+ args.fPipelineBuilder = pipelineBuilder; |
+ args.fColor = color; |
+ args.fViewMatrix = &viewMatrix; |
+ args.fPath = pathPtr; |
+ args.fStroke = strokeInfoPtr; |
+ args.fAntiAlias = useCoverageAA; |
+ pr->drawPath(args); |
} |
bool GrDrawContext::prepareToDraw(GrRenderTarget* rt) { |