diff options
author | Mike Reed <reed@google.com> | 2016-10-31 15:11:04 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2016-10-31 19:35:15 +0000 |
commit | 09d9435835f48b06954904f16d14c1c2eeaaad2e (patch) | |
tree | 717ad84a3204cdb81646e0d9dee23977965ce2e5 /include/core/SkPictureRecorder.h | |
parent | fc49b403eb3353fdefe97672017df10b64dee95a (diff) |
remove lots of legacy flags
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4209
Change-Id: I49ae36a9b2bb51a6470638d3264923ff4a4dea0a
Reviewed-on: https://skia-review.googlesource.com/4209
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'include/core/SkPictureRecorder.h')
-rw-r--r-- | include/core/SkPictureRecorder.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/include/core/SkPictureRecorder.h b/include/core/SkPictureRecorder.h index 890e7ca213..59e8f14504 100644 --- a/include/core/SkPictureRecorder.h +++ b/include/core/SkPictureRecorder.h @@ -99,19 +99,6 @@ public: */ sk_sp<SkDrawable> finishRecordingAsDrawable(uint32_t endFlags = 0); -#ifdef SK_SUPPORT_LEGACY_PICTURE_PTR - SkPicture* SK_WARN_UNUSED_RESULT endRecordingAsPicture() { - return this->finishRecordingAsPicture().release(); - } - SkPicture* SK_WARN_UNUSED_RESULT endRecordingAsPicture(const SkRect& cullRect) { - return this->finishRecordingAsPictureWithCull(cullRect).release(); - } - SkDrawable* SK_WARN_UNUSED_RESULT endRecordingAsDrawable() { - return this->finishRecordingAsDrawable().release(); - } - SkPicture* SK_WARN_UNUSED_RESULT endRecording() { return this->endRecordingAsPicture(); } -#endif - private: void reset(); |