aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkRemote.cpp
diff options
context:
space:
mode:
authorGravatar halcanary <halcanary@google.com>2015-10-17 06:11:52 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-10-17 06:11:52 -0700
commit1ed348aea37e34dd0ad3bde33cd28bcbd1c2a587 (patch)
treed5872f7013e718071325977800b2d1a0f798d037 /src/core/SkRemote.cpp
parent56f152b53f911b578e305d3461fb001585984a67 (diff)
SkRemote: impl drawPaint()
Diffstat (limited to 'src/core/SkRemote.cpp')
-rw-r--r--src/core/SkRemote.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/SkRemote.cpp b/src/core/SkRemote.cpp
index 20f4c89890..d3da1d2bfa 100644
--- a/src/core/SkRemote.cpp
+++ b/src/core/SkRemote.cpp
@@ -220,6 +220,10 @@ namespace SkRemote {
}
}
+ 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);