Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Unified Diff: include/core/SkPicture.h

Issue 1061283002: Send SkPicture deletion message lazily. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/core/SkPicture.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | src/core/SkPicture.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698