Index: src/core/SkPictureFlat.h |
diff --git a/src/core/SkPictureFlat.h b/src/core/SkPictureFlat.h |
index cd750bffab2e5d890bfaa05a103472d75ec12b63..18fa4027710faa3e9521e2f7afa66c713801c99c 100644 |
--- a/src/core/SkPictureFlat.h |
+++ b/src/core/SkPictureFlat.h |
@@ -269,7 +269,7 @@ public: |
static SkFlatData* Create(SkFlatController* controller, const T& obj, int index) { |
// A buffer of 256 bytes should fit most paints, regions, and matrices. |
uint32_t storage[64]; |
- SkWriteBuffer buffer(storage, sizeof(storage), controller->getWriteBufferFlags()); |
+ SkBinaryWriteBuffer buffer(storage, sizeof(storage), controller->getWriteBufferFlags()); |
buffer.setBitmapHeap(controller->getBitmapHeap()); |
buffer.setTypefaceRecorder(controller->getTypefaceSet()); |
@@ -544,7 +544,7 @@ private: |
// All SkFlatData* stored in fIndexedData and fHash are owned by the controller. |
SkAutoTUnref<SkFlatController> fController; |
- SkWriteBuffer fScratch; |
+ SkBinaryWriteBuffer fScratch; |
bool fReady; |
// For index -> SkFlatData. 0-based, while all indices in the API are 1-based. Careful! |