aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar djsollen <djsollen@google.com>2014-09-02 13:34:49 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-09-02 13:34:49 -0700
commit5ee785d9c7a39b9b8d3ae48b5da170dcef848e11 (patch)
treeb97b3b62b7befba5d298344767d4d550eefc574f /src
parent17a845f76094eb3b5ac464556fced2a60dd0f088 (diff)
Remove legacy (and also broken) SkPicture constructor.
R=robertphillips@google.com, reed@google.com Author: djsollen@google.com Review URL: https://codereview.chromium.org/532703004
Diffstat (limited to 'src')
-rw-r--r--src/core/SkPicture.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/core/SkPicture.cpp b/src/core/SkPicture.cpp
index 92551d3b1c..6ae1c90e69 100644
--- a/src/core/SkPicture.cpp
+++ b/src/core/SkPicture.cpp
@@ -252,15 +252,6 @@ bool SkPicture::Analysis::suitableForGpuRasterization(const char** reason,
///////////////////////////////////////////////////////////////////////////////
-#ifdef SK_SUPPORT_LEGACY_DEFAULT_PICTURE_CTOR
-// fRecord OK
-SkPicture::SkPicture()
- : fWidth(0)
- , fHeight(0) {
- this->needsNewGenID();
-}
-#endif
-
// fRecord OK
SkPicture::SkPicture(SkScalar width, SkScalar height,
const SkPictureRecord& record,