aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2014-09-30 11:14:38 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-09-30 11:14:38 -0700
commit5bc760a6a6a61ff462a204e0c051ad6147760223 (patch)
treeb3c7d7a609839549fed8833ddd6f13409ab6c020 /include
parent7874dc8e717036f97f14f87daa9431d6f611e467 (diff)
Remove support for SkPicture::clone().
This folds SK_SUPPORT_LEGACY_PICTURE_CLONE through as undefined. Chrome's not used clone() for a month or two, and we don't use it ourselves. Don't think Android ever did. CQ_EXTRA_TRYBOTS=tryserver.skia:Canary-Chrome-Ubuntu13.10-Ninja-x86_64-ToT-Trybot BUG=skia: R=reed@google.com, mtklein@google.com, robertphillips@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/620533002
Diffstat (limited to 'include')
-rw-r--r--include/core/SkPicture.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/core/SkPicture.h b/include/core/SkPicture.h
index 9da8de9383..c41709d4be 100644
--- a/include/core/SkPicture.h
+++ b/include/core/SkPicture.h
@@ -105,13 +105,6 @@ public:
virtual ~SkPicture();
-#ifdef SK_SUPPORT_LEGACY_PICTURE_CLONE
- /**
- * Creates a thread-safe clone of the picture that is ready for playback.
- */
- SkPicture* clone() const;
-#endif
-
/** Replays the drawing commands on the specified canvas. Note that
this has the effect of unfurling this picture into the destination
canvas. Using the SkCanvas::drawPicture entry point gives the destination