Index: src/core/SkReadBuffer.cpp |
diff --git a/src/core/SkReadBuffer.cpp b/src/core/SkReadBuffer.cpp |
index b4bc87529ab5a5b1e1e620d2775f7e7a5f1dedf1..d016d9c980b5ecbc77fc938a059c0cea11add3dc 100644 |
--- a/src/core/SkReadBuffer.cpp |
+++ b/src/core/SkReadBuffer.cpp |
@@ -25,7 +25,7 @@ static uint32_t default_flags() { |
SkReadBuffer::SkReadBuffer() { |
fFlags = default_flags(); |
- fPictureVersion = 0; |
+ fVersion = 0; |
fMemoryPtr = NULL; |
fBitmapStorage = NULL; |
@@ -43,7 +43,7 @@ SkReadBuffer::SkReadBuffer() { |
SkReadBuffer::SkReadBuffer(const void* data, size_t size) { |
fFlags = default_flags(); |
- fPictureVersion = 0; |
+ fVersion = 0; |
fReader.setMemory(data, size); |
fMemoryPtr = NULL; |
@@ -62,7 +62,7 @@ SkReadBuffer::SkReadBuffer(const void* data, size_t size) { |
SkReadBuffer::SkReadBuffer(SkStream* stream) { |
fFlags = default_flags(); |
- fPictureVersion = 0; |
+ fVersion = 0; |
const size_t length = stream->getLength(); |
fMemoryPtr = sk_malloc_throw(length); |
stream->read(fMemoryPtr, length); |