Index: include/core/SkPicture.h |
diff --git a/include/core/SkPicture.h b/include/core/SkPicture.h |
index a62bedbfdbd7848c5e7b9ec064e2d97d129a9df3..2dc92580dd8af717211bbd11a815ed7e013b994f 100644 |
--- a/include/core/SkPicture.h |
+++ b/include/core/SkPicture.h |
@@ -136,7 +136,7 @@ public: |
/** Return a non-zero, unique value representing the picture. |
*/ |
- uint32_t uniqueID() const { return fUniqueID; } |
+ uint32_t uniqueID() const; |
/** |
* Serialize to a stream. If non NULL, serializer will be used to serialize |
@@ -263,7 +263,7 @@ private: |
SkPicture const* const drawablePics[], int drawableCount); |
// uint32_t fRefCnt; from SkNVRefCnt<SkPicture> |
- const uint32_t fUniqueID; |
+ mutable uint32_t fUniqueID; |
const SkRect fCullRect; |
mutable SkAutoTUnref<const AccelData> fAccelData; |
SkAutoTUnref<const SkRecord> fRecord; |