Index: src/core/SkCanvas.cpp |
diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp |
index 6c0fc884e1a53472f3a3681df8537c69dc283c6a..34559795e4c81f9f16532cc600172908f6a285d6 100644 |
--- a/src/core/SkCanvas.cpp |
+++ b/src/core/SkCanvas.cpp |
@@ -2076,7 +2076,7 @@ void SkCanvas::drawPath(const SkPath& path, const SkPaint& paint) { |
const SkRect& r = path.getBounds(); |
if (r.width() <= 0 && r.height() <= 0) { |
- if (path.isInverseFillType()) { |
+ if (path.isInverseFillType() && SkPaint::kFill_Style == paint.getStyle()) { |
this->internalDrawPaint(paint); |
} |
return; |