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

Unified Diff: include/core/SkPicture.h

Issue 338633011: Deprecate SkPicture::clone(). (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: add define for chrome Created 6 years, 6 months 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
Index: include/core/SkPicture.h
diff --git a/include/core/SkPicture.h b/include/core/SkPicture.h
index a53617fbc0af911989d438f8a4d23a568720ad53..1f1378c4157856bb94fb26dd432abf81ccd2a3af 100644
--- a/include/core/SkPicture.h
+++ b/include/core/SkPicture.h
@@ -110,6 +110,7 @@ public:
virtual ~SkPicture();
+#ifdef SK_SUPPORT_LEGACY_PICTURE_CLONE
/**
* Creates a thread-safe clone of the picture that is ready for playback.
*/
@@ -121,6 +122,7 @@ public:
* SkPictures.
*/
void clone(SkPicture* pictures, int count) const;
+#endif
/** Replays the drawing commands on the specified canvas.
@param canvas the canvas receiving the drawing commands.
« no previous file with comments | « gyp/utils.gypi ('k') | include/utils/SkCountdown.h » ('j') | src/core/SkPicturePlayback.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698