diff options
author | djsollen@google.com <djsollen@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-05-30 16:54:13 +0000 |
---|---|---|
committer | djsollen@google.com <djsollen@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-05-30 16:54:13 +0000 |
commit | d2700eec7eb2e26beb206b88a0f0b6f3c5f49118 (patch) | |
tree | c43ed22ce3a91677ca29d04b733bbcc7847304ac /include | |
parent | dde718c558b118e2a918d14046770a8c37d75040 (diff) |
Refactor dictionaries for use by entities other than just SkPicture
Review URL: https://codereview.appspot.com/6101043
git-svn-id: http://skia.googlecode.com/svn/trunk@4077 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkOrderedWriteBuffer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/core/SkOrderedWriteBuffer.h b/include/core/SkOrderedWriteBuffer.h index 51daf5ca14..947877ba4e 100644 --- a/include/core/SkOrderedWriteBuffer.h +++ b/include/core/SkOrderedWriteBuffer.h @@ -22,6 +22,8 @@ public: size_t storageSize); virtual ~SkOrderedWriteBuffer() {} + SkWriter32* getWriter32() { return &fWriter; } + // deprecated naming convention that will be removed after callers are updated virtual bool writeBool(bool value) { return fWriter.writeBool(value); } virtual void writeInt(int32_t value) { fWriter.writeInt(value); } |