Index: src/core/SkPicturePlayback.cpp |
diff --git a/src/core/SkPicturePlayback.cpp b/src/core/SkPicturePlayback.cpp |
index 87cd9416ae76ceaba1aedeefc46c1472b2287172..8c77eeb6ac94d574a75642fa40b7c041a137d2bb 100644 |
--- a/src/core/SkPicturePlayback.cpp |
+++ b/src/core/SkPicturePlayback.cpp |
@@ -534,7 +534,7 @@ bool SkPicturePlayback::parseStreamTag(SkPicture* picture, |
SkReadBuffer buffer(storage.get(), size); |
buffer.setFlags(pictInfoFlagsToReadBufferFlags(fInfo.fFlags)); |
- buffer.setPictureVersion(fInfo.fVersion); |
+ buffer.setVersion(fInfo.fVersion); |
fFactoryPlayback->setupBuffer(buffer); |
fTFPlayback.setupBuffer(buffer); |
@@ -634,7 +634,7 @@ SkPicturePlayback* SkPicturePlayback::CreateFromBuffer(SkPicture* picture, |
SkReadBuffer& buffer, |
const SkPictInfo& info) { |
SkAutoTDelete<SkPicturePlayback> playback(SkNEW_ARGS(SkPicturePlayback, (picture, info))); |
- buffer.setPictureVersion(info.fVersion); |
+ buffer.setVersion(info.fVersion); |
if (!playback->parseBuffer(picture, buffer)) { |
return NULL; |