Index: src/core/SkPictureFlat.h |
diff --git a/src/core/SkPictureFlat.h b/src/core/SkPictureFlat.h |
index edfe24a4516dfe5e23d08be212e7c9bffad6ecee..993579a43ce320aefc002cbe3a91dab7766ca8b0 100644 |
--- a/src/core/SkPictureFlat.h |
+++ b/src/core/SkPictureFlat.h |
@@ -271,7 +271,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()); |
@@ -546,7 +546,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! |