Index: tests/FlattenableCustomFactory.cpp |
diff --git a/tests/FlattenableCustomFactory.cpp b/tests/FlattenableCustomFactory.cpp |
index 794f76872a4759c8c39d444f0e78431ec335d171..567331c89257dc87ffc8d4030c20d10bd7228925 100644 |
--- a/tests/FlattenableCustomFactory.cpp |
+++ b/tests/FlattenableCustomFactory.cpp |
@@ -52,7 +52,7 @@ static sk_sp<SkFlattenable> custom_create_proc(SkReadBuffer& buffer) { |
DEF_TEST(UnflattenWithCustomFactory, r) { |
// Create and flatten the test flattenable |
- SkWriteBuffer writeBuffer; |
+ SkBinaryWriteBuffer writeBuffer; |
SkAutoTUnref<SkFlattenable> flattenable1(new IntFlattenable(1, 2, 3, 4)); |
writeBuffer.writeFlattenable(flattenable1); |
SkAutoTUnref<SkFlattenable> flattenable2(new IntFlattenable(2, 3, 4, 5)); |