diff options
author | 2014-08-08 12:51:24 -0700 | |
---|---|---|
committer | 2014-08-08 12:51:24 -0700 | |
commit | 3b1c3d2c6160f714c4ebada05dd834f88fe5fd00 (patch) | |
tree | 03dec11d2dfdb9932f15d502aeae5e606c2ce6bf | |
parent | d1d3baeb986732d02987546401d5a4c19705f02a (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.h | 2 |
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 |