| commit | 3b1c3d2c6160f714c4ebada05dd834f88fe5fd00 | [log] [tgz] |
|---|---|---|
| author | reed <reed@google.com> | Fri Aug 08 12:51:24 2014 -0700 |
| committer | Commit bot <commit-bot@chromium.org> | Fri Aug 08 12:51:24 2014 -0700 |
| 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
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h index f74ebb7..eef9d90 100644 --- a/include/core/SkCanvas.h +++ b/include/core/SkCanvas.h
@@ -1224,6 +1224,8 @@ 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