Index: src/gpu/GrShape.h |
diff --git a/src/gpu/GrShape.h b/src/gpu/GrShape.h |
index 93896ce3f0a532cfcfd71a41a3610e32b2060505..6da1a41acb4f5b12835cac30b3b5b96c1b0675b0 100644 |
--- a/src/gpu/GrShape.h |
+++ b/src/gpu/GrShape.h |
@@ -293,13 +293,9 @@ private: |
SkASSERT(Type::kRRect == fType); |
SkASSERT(!fInheritedKey.count()); |
if (fRRectIsInverted) { |
- if (!fStyle.hasNonDashPathEffect()) { |
- SkStrokeRec::Style recStyle = fStyle.strokeRec().getStyle(); |
- if (SkStrokeRec::kStroke_Style == recStyle || |
- SkStrokeRec::kHairline_Style == recStyle) { |
- // stroking ignores the path fill rule. |
- fRRectIsInverted = false; |
- } |
+ if (fStyle.isDashed()) { |
+ // Dashing ignores the inverseness (currently). skbug.com/5421 |
+ fRRectIsInverted = false; |
} |
} else if (fRRect.isEmpty()) { |
fType = Type::kEmpty; |