SkRemote: impl drawPaint()
Review URL: https://codereview.chromium.org/1409253003
diff --git a/src/core/SkRemote.cpp b/src/core/SkRemote.cpp
index 20f4c89..d3da1d2 100644
--- a/src/core/SkRemote.cpp
+++ b/src/core/SkRemote.cpp
@@ -220,6 +220,10 @@
}
}
+ void Client::onDrawPaint(const SkPaint& paint) {
+ this->onDrawRect(SkRect::MakeLargest(), paint);
+ }
+
void Client::onClipRect(const SkRect& rect, SkRegion::Op op, ClipEdgeStyle edgeStyle) {
SkPath path;
path.addRect(rect);
diff --git a/src/core/SkRemote.h b/src/core/SkRemote.h
index 3bbb3b7..bd86193 100644
--- a/src/core/SkRemote.h
+++ b/src/core/SkRemote.h
@@ -95,6 +95,7 @@
void onDrawOval(const SkRect&, const SkPaint&) override;
void onDrawPath(const SkPath&, const SkPaint&) override;
void onDrawRect(const SkRect&, const SkPaint&) override;
+ void onDrawPaint(const SkPaint&) override;
Cache* fCache;
Encoder* fEncoder;