Index: src/gpu/GrAAConvexPathRenderer.cpp |
diff --git a/src/gpu/GrAAConvexPathRenderer.cpp b/src/gpu/GrAAConvexPathRenderer.cpp |
index 9850ddc48cdff100a7ba52840d7b0b0dd04abc6b..0264cf5d4e19ffd0f15b78ca7123e594f2511e87 100644 |
--- a/src/gpu/GrAAConvexPathRenderer.cpp |
+++ b/src/gpu/GrAAConvexPathRenderer.cpp |
@@ -679,7 +679,7 @@ GrGeometryProcessor* QuadEdgeEffect::TestCreate(GrProcessorTestData* d) { |
/////////////////////////////////////////////////////////////////////////////// |
bool GrAAConvexPathRenderer::onCanDrawPath(const CanDrawPathArgs& args) const { |
- return (args.fTarget->caps()->shaderCaps()->shaderDerivativeSupport() && args.fAntiAlias && |
+ return (args.fShaderCaps->shaderDerivativeSupport() && args.fAntiAlias && |
args.fStroke->isFillStyle() && !args.fPath->isInverseFillType() && |
args.fPath->isConvex()); |
} |