Index: src/gpu/GrPathRenderer.h |
diff --git a/src/gpu/GrPathRenderer.h b/src/gpu/GrPathRenderer.h |
index a53d51d161aadbd6e92b246460463e6158cccd39..8e03edb8939ee7ad3c623128fce56fcaab532106 100644 |
--- a/src/gpu/GrPathRenderer.h |
+++ b/src/gpu/GrPathRenderer.h |
@@ -160,14 +160,14 @@ public: |
if (stroke.isDashed()) { |
return false; |
} |
- if (stroke.getStrokeRec().isHairlineStyle()) { |
+ if (stroke.isHairlineStyle()) { |
if (outCoverage) { |
*outCoverage = SK_Scalar1; |
} |
return true; |
} |
- return stroke.getStrokeRec().getStyle() == SkStrokeRec::kStroke_Style && |
- SkDrawTreatAAStrokeAsHairline(stroke.getStrokeRec().getWidth(), matrix, outCoverage); |
+ return stroke.getStyle() == SkStrokeRec::kStroke_Style && |
+ SkDrawTreatAAStrokeAsHairline(stroke.getWidth(), matrix, outCoverage); |
} |
protected: |