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

Unified Diff: src/core/SkOrderedReadBuffer.h

Issue 14158015: Allow supporting older PICTURE_VERSIONs. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 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
Index: src/core/SkOrderedReadBuffer.h
diff --git a/src/core/SkOrderedReadBuffer.h b/src/core/SkOrderedReadBuffer.h
index c609ec8be267d8304e232d050f3872671e7f7ac8..f59b9bb7bbfc559d9e724b0c4627a15f96e4298f 100644
--- a/src/core/SkOrderedReadBuffer.h
+++ b/src/core/SkOrderedReadBuffer.h
@@ -27,6 +27,8 @@ public:
virtual SkOrderedReadBuffer* getOrderedBinaryBuffer() SK_OVERRIDE { return this; }
+ void setPictureVersion(uint32_t version);
+
SkReader32* getReader32() { return &fReader; }
uint32_t size() { return fReader.size(); }
@@ -121,6 +123,7 @@ private:
int fFactoryCount;
SkPicture::InstallPixelRefProc fBitmapDecoder;
+ uint32_t fPictureVersion;
typedef SkFlattenableReadBuffer INHERITED;
};

Powered by Google App Engine
This is Rietveld 408576698