Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Unified Diff: include/core/SkPicture.h

Issue 788903006: Remove legacy Picture defines. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gyp/skia_for_android_framework_defines.gypi ('k') | include/core/SkPictureRecorder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkPicture.h
diff --git a/include/core/SkPicture.h b/include/core/SkPicture.h
index 35458095da0514eb31cb460838b09574b5644cb9..f38df4f17d45543fefd6578483e9cdf5c268fe08 100644
--- a/include/core/SkPicture.h
+++ b/include/core/SkPicture.h
@@ -114,17 +114,6 @@ public:
*/
void playback(SkCanvas* canvas, SkDrawPictureCallback* = NULL) const;
-#ifdef SK_LEGACY_PICTURE_DRAW_API
- void draw(SkCanvas* canvas, SkDrawPictureCallback* callback = NULL) const {
- this->playback(canvas, callback);
- }
-#endif
-
-#ifdef SK_LEGACY_PICTURE_SIZE_API
- int width() const { return fCullRect.roundOut().width(); }
- int height() const { return fCullRect.roundOut().height(); }
-#endif
-
/** Return the cull rect used when creating this picture: { 0, 0, cullWidth, cullHeight }.
It does not necessarily reflect the bounds of what has been recorded into the picture.
@return the cull rect used to create this picture
« no previous file with comments | « gyp/skia_for_android_framework_defines.gypi ('k') | include/core/SkPictureRecorder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698