Index: src/core/SkPictureData.cpp |
diff --git a/src/core/SkPictureData.cpp b/src/core/SkPictureData.cpp |
index 43e0793cfb4996a7230fb84ef1d5ec866eeecd5b..ed32c6c029f498e45aa1d06859043d70b2e7c7e7 100644 |
--- a/src/core/SkPictureData.cpp |
+++ b/src/core/SkPictureData.cpp |
@@ -274,7 +274,7 @@ void SkPictureData::serialize(SkWStream* stream, |
// We delay serializing the bulk of our data until after we've serialized |
// factories and typefaces by first serializing to an in-memory write buffer. |
SkFactorySet factSet; // buffer refs factSet, so factSet must come first. |
- SkWriteBuffer buffer(SkWriteBuffer::kCrossProcess_Flag); |
+ SkBinaryWriteBuffer buffer(SkBinaryWriteBuffer::kCrossProcess_Flag); |
buffer.setFactoryRecorder(&factSet); |
buffer.setPixelSerializer(pixelSerializer); |
buffer.setTypefaceRecorder(typefaceSet); |