aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core
diff options
context:
space:
mode:
authorGravatar Robert Phillips <robertphillips@google.com>2014-07-08 12:58:20 -0400
committerGravatar Robert Phillips <robertphillips@google.com>2014-07-08 12:58:20 -0400
commit004522f91ceb7f9ba11be91b4f2eb018853a67ec (patch)
tree4084ff90c2c9295ffa55f6b7922e8927097b1f40 /include/core
parent83d081ae1d731b5039e99823620f5e287542ee39 (diff)
Back off from SkPicture API hardening a bit
Sigh - Chromium still relies on the old clone functionality TBR=reed@google.com Review URL: https://codereview.chromium.org/371273006
Diffstat (limited to 'include/core')
-rw-r--r--include/core/SkPicture.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/core/SkPicture.h b/include/core/SkPicture.h
index 8e54b1d6eb..a346606ff2 100644
--- a/include/core/SkPicture.h
+++ b/include/core/SkPicture.h
@@ -241,7 +241,8 @@ private:
mutable uint32_t fUniqueID;
- SkAutoTDelete<const SkPictureData> fData;
+ // TODO: make SkPictureData const when clone method goes away
+ SkAutoTDelete<SkPictureData> fData;
int fWidth, fHeight;
mutable SkAutoTUnref<const AccelData> fAccelData;