Index: src/core/SkFlattenableSerialization.cpp |
diff --git a/src/core/SkFlattenableSerialization.cpp b/src/core/SkFlattenableSerialization.cpp |
index 5c83101eaf961e964371a5f965102479253a1466..13fbe6edbf9b0368c13eeb36d67d3c015962a9f9 100644 |
--- a/src/core/SkFlattenableSerialization.cpp |
+++ b/src/core/SkFlattenableSerialization.cpp |
@@ -9,11 +9,11 @@ |
#include "SkData.h" |
#include "SkValidatingReadBuffer.h" |
-#include "SkOrderedWriteBuffer.h" |
+#include "SkWriteBuffer.h" |
SkData* SkValidatingSerializeFlattenable(SkFlattenable* flattenable) { |
- SkOrderedWriteBuffer writer; |
- writer.setFlags(SkOrderedWriteBuffer::kValidation_Flag); |
+ SkWriteBuffer writer; |
+ writer.setFlags(SkWriteBuffer::kValidation_Flag); |
writer.writeFlattenable(flattenable); |
uint32_t size = writer.bytesWritten(); |
void* data = sk_malloc_throw(size); |