Index: src/gpu/GrAAHairLinePathRenderer.cpp |
diff --git a/src/gpu/GrAAHairLinePathRenderer.cpp b/src/gpu/GrAAHairLinePathRenderer.cpp |
index 1a3318b887b96b64323a7f161c563cc0d9ade1d9..fea6ef6b1dc616d24bd23879ce9129248dcf1746 100644 |
--- a/src/gpu/GrAAHairLinePathRenderer.cpp |
+++ b/src/gpu/GrAAHairLinePathRenderer.cpp |
@@ -627,7 +627,7 @@ bool GrAAHairLinePathRenderer::onCanDrawPath(const CanDrawPathArgs& args) const |
} |
if (SkPath::kLine_SegmentMask == args.fPath->getSegmentMasks() || |
- args.fTarget->caps()->shaderCaps()->shaderDerivativeSupport()) { |
+ args.fShaderCaps->shaderDerivativeSupport()) { |
return true; |
} |
return false; |