aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2014-08-08 12:51:24 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-08-08 12:51:24 -0700
commit3b1c3d2c6160f714c4ebada05dd834f88fe5fd00 (patch)
tree03dec11d2dfdb9932f15d502aeae5e606c2ce6bf
parentd1d3baeb986732d02987546401d5a4c19705f02a (diff)
add dummy onDrawPicture to allow migration for chrome overrides
after this lands in chrome, land these two CLs https://codereview.chromium.org/454993002/ https://codereview.chromium.org/454143003 then land this skia CL https://codereview.chromium.org/448793004/ then remove the onDrawPicture overrides from chrome R=fmalita@google.com, robertphillips@google.com Author: reed@google.com Review URL: https://codereview.chromium.org/457753002
-rw-r--r--include/core/SkCanvas.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h
index f74ebb7f56..eef9d9004a 100644
--- a/include/core/SkCanvas.h
+++ b/include/core/SkCanvas.h
@@ -1224,6 +1224,8 @@ protected:
virtual void onDiscard();
virtual void onDrawPicture(const SkPicture* picture);
+ // temporary, until we can migrate existing overrides in chrome
+ virtual void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) {}
// Returns the canvas to be used by DrawIter. Default implementation
// returns this. Subclasses that encapsulate an indirect canvas may