Index: src/core/SkRemote.cpp |
diff --git a/src/core/SkRemote.cpp b/src/core/SkRemote.cpp |
index 0c4bb2160eb0474465914441c31918558e0618eb..1e86044a544a42aae14ed8cbb287ba9b27b9cf6d 100644 |
--- a/src/core/SkRemote.cpp |
+++ b/src/core/SkRemote.cpp |
@@ -236,7 +236,9 @@ namespace SkRemote { |
} |
void Client::onDrawPaint(const SkPaint& paint) { |
- this->onDrawRect(SkRect::MakeLargest(), paint); |
+ SkPath path; |
+ path.setFillType(SkPath::kInverseWinding_FillType); // Either inverse FillType works fine. |
+ this->onDrawPath(path, paint); |
} |
void Client::onDrawText(const void* text, size_t byteLength, SkScalar x, |