diff options
author | robertphillips <robertphillips@google.com> | 2014-06-04 05:40:44 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-06-04 05:40:44 -0700 |
commit | 9b14f26d0f3a974f3dd626c8354e1db1cfcd322f (patch) | |
tree | 542d5f1d7a1266454675745139e956b4424fde4b /include/gpu/SkGpuDevice.h | |
parent | 232f7259a939c70ce447a729a5094fcc272b679d (diff) |
Alter SkCanvas::drawPicture (devirtualize, take const SkPicture, take pointer)
R=reed@google.com, bsalomon@google.com, mtklein@google.com
Author: robertphillips@google.com
Review URL: https://codereview.chromium.org/313613004
Diffstat (limited to 'include/gpu/SkGpuDevice.h')
-rw-r--r-- | include/gpu/SkGpuDevice.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/gpu/SkGpuDevice.h b/include/gpu/SkGpuDevice.h index f2a27d7bf5..c9650d6184 100644 --- a/include/gpu/SkGpuDevice.h +++ b/include/gpu/SkGpuDevice.h @@ -152,11 +152,11 @@ protected: virtual bool onWritePixels(const SkImageInfo&, const void*, size_t, int, int) SK_OVERRIDE; /** PRIVATE / EXPERIMENTAL -- do not call */ - virtual void EXPERIMENTAL_optimize(SkPicture* picture) SK_OVERRIDE; + virtual void EXPERIMENTAL_optimize(const SkPicture* picture) SK_OVERRIDE; /** PRIVATE / EXPERIMENTAL -- do not call */ - virtual void EXPERIMENTAL_purge(SkPicture* picture) SK_OVERRIDE; + virtual void EXPERIMENTAL_purge(const SkPicture* picture) SK_OVERRIDE; /** PRIVATE / EXPERIMENTAL -- do not call */ - virtual bool EXPERIMENTAL_drawPicture(SkCanvas* canvas, SkPicture* picture) SK_OVERRIDE; + virtual bool EXPERIMENTAL_drawPicture(SkCanvas* canvas, const SkPicture* picture) SK_OVERRIDE; private: GrContext* fContext; |