Index: src/utils/SkDashPath.cpp |
diff --git a/src/utils/SkDashPath.cpp b/src/utils/SkDashPath.cpp |
index d766b0d53e2445f86c8a6e9328c8b6c04268472d..833c7ccce111dc587f03ef1ff5551d443bf14787 100644 |
--- a/src/utils/SkDashPath.cpp |
+++ b/src/utils/SkDashPath.cpp |
@@ -219,7 +219,8 @@ bool SkDashPath::InternalFilter(SkPath* dst, const SkPath& src, SkStrokeRec* rec |
SkScalar intervalLength) { |
// we do nothing if the src wants to be filled |
- if (rec->isFillStyle()) { |
+ SkStrokeRec::Style style = rec->getStyle(); |
+ if (SkStrokeRec::kFill_Style == style || SkStrokeRec::kStrokeAndFill_Style == style) { |
return false; |
} |