aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/utils/SkPaintFilterCanvas.h
diff options
context:
space:
mode:
authorGravatar Florin Malita <fmalita@chromium.org>2017-09-21 15:28:29 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-09-22 14:01:27 +0000
commitadaeaedc28ff708dbe1380fe54480bb77ed007d8 (patch)
tree66457d2f45abff9dfaac8c162123019f30479856 /include/utils/SkPaintFilterCanvas.h
parent8aa4569c139a7a7ac38c62b25e3af40309cc2ee2 (diff)
Add missing onDrawDrawable() overrides to utility canvases
Change-Id: Ia5a7c523263e2c4744e0f3a743c6a4433760a4be Reviewed-on: https://skia-review.googlesource.com/49770 Reviewed-by: Stan Iliev <stani@google.com> Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Florin Malita <fmalita@chromium.org>
Diffstat (limited to 'include/utils/SkPaintFilterCanvas.h')
-rw-r--r--include/utils/SkPaintFilterCanvas.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/utils/SkPaintFilterCanvas.h b/include/utils/SkPaintFilterCanvas.h
index 31b3663730..d89c80a2c2 100644
--- a/include/utils/SkPaintFilterCanvas.h
+++ b/include/utils/SkPaintFilterCanvas.h
@@ -34,6 +34,7 @@ public:
kOval_Type,
kPath_Type,
kPicture_Type,
+ kDrawable_Type,
kText_Type,
kTextBlob_Type,
kVertices_Type,
@@ -79,6 +80,7 @@ protected:
const SkPoint texCoords[4], SkBlendMode,
const SkPaint& paint) override;
void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) override;
+ void onDrawDrawable(SkDrawable*, const SkMatrix*) override;
void onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y,
const SkPaint&) override;