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

Unified Diff: src/core/SkPictureRecord.h

Issue 155863005: Adding release method to SkWriter32 and using it to not copy the ops data from SkPictureRecord to S… (Closed) Base URL: https://skia.googlesource.com/skia.git@array_growth
Patch Set: Change pointer init to use NULL Created 6 years, 10 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
Index: src/core/SkPictureRecord.h
diff --git a/src/core/SkPictureRecord.h b/src/core/SkPictureRecord.h
index 6d14c621aafb510dd5e13a6f01fa50f866c19992..f683ceb50f2b39de2571999d8c010a9e66a371fb 100644
--- a/src/core/SkPictureRecord.h
+++ b/src/core/SkPictureRecord.h
@@ -99,7 +99,7 @@ public:
fRecordFlags = recordFlags;
}
- const SkWriter32& writeStream() const {
+ SkWriter32& writeStream() {
return fWriter;
}

Powered by Google App Engine
This is Rietveld 408576698