diff options
author | 2017-09-21 15:28:29 -0400 | |
---|---|---|
committer | 2017-09-22 14:01:27 +0000 | |
commit | adaeaedc28ff708dbe1380fe54480bb77ed007d8 (patch) | |
tree | 66457d2f45abff9dfaac8c162123019f30479856 /src/utils/SkLuaCanvas.cpp | |
parent | 8aa4569c139a7a7ac38c62b25e3af40309cc2ee2 (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 'src/utils/SkLuaCanvas.cpp')
-rw-r--r-- | src/utils/SkLuaCanvas.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/utils/SkLuaCanvas.cpp b/src/utils/SkLuaCanvas.cpp index ddf5187baf..9d2e8c9041 100644 --- a/src/utils/SkLuaCanvas.cpp +++ b/src/utils/SkLuaCanvas.cpp @@ -307,6 +307,12 @@ void SkLuaCanvas::onDrawPicture(const SkPicture* picture, const SkMatrix* matrix this->INHERITED::onDrawPicture(picture, matrix, paint); } +void SkLuaCanvas::onDrawDrawable(SkDrawable* drawable, const SkMatrix* matrix) { + AUTO_LUA("drawDrawable"); + // call through so we can see the nested ops + this->INHERITED::onDrawDrawable(drawable, matrix); +} + void SkLuaCanvas::onDrawVerticesObject(const SkVertices*, SkBlendMode, const SkPaint& paint) { AUTO_LUA("drawVertices"); lua.pushPaint(paint, "paint"); |