Index: src/gpu/GrAADistanceFieldPathRenderer.cpp |
diff --git a/src/gpu/GrAADistanceFieldPathRenderer.cpp b/src/gpu/GrAADistanceFieldPathRenderer.cpp |
index 48427fa0835442017ef5171d89f1b45eb0102b15..ea338bba29f8be37d3ee4065b86bd7cfea0841a2 100755 |
--- a/src/gpu/GrAADistanceFieldPathRenderer.cpp |
+++ b/src/gpu/GrAADistanceFieldPathRenderer.cpp |
@@ -92,8 +92,8 @@ bool GrAADistanceFieldPathRenderer::canDrawPath(const GrDrawTarget* target, |
// TODO: Support inverse fill |
// TODO: Support strokes |
- if (!target->caps()->shaderDerivativeSupport() || !antiAlias || path.isInverseFillType() |
- || path.isVolatile() || !stroke.isFillStyle()) { |
+ if (!target->caps()->shaderCaps()->shaderDerivativeSupport() || !antiAlias |
+ || path.isInverseFillType() || path.isVolatile() || !stroke.isFillStyle()) { |
return false; |
} |