diff options
author | 2015-04-30 13:09:24 -0700 | |
---|---|---|
committer | 2015-04-30 13:09:25 -0700 | |
commit | 1c2c441fede0ae9573afc098017011e3439624a9 (patch) | |
tree | 088df00ee48e5e6f6d0763c2962f25e61b25a80f /include | |
parent | 4f7ec55f7128e971318adc11f07fc485c4d50bc5 (diff) |
add heuristic to pour small pictures into recordings, rather than ref'ing
BUG=skia:
Review URL: https://codereview.chromium.org/1118693003
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkCanvas.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h index dcbff3f60b..9282267721 100644 --- a/include/core/SkCanvas.h +++ b/include/core/SkCanvas.h @@ -951,7 +951,9 @@ public: @param picture The recorded drawing commands to playback into this canvas. */ - void drawPicture(const SkPicture* picture); + void drawPicture(const SkPicture* picture) { + this->drawPicture(picture, NULL, NULL); + } /** * Draw the picture into this canvas. |