Index: tests/PaintTest.cpp |
diff --git a/tests/PaintTest.cpp b/tests/PaintTest.cpp |
index 98653449474bd43c2c1c6c1561a31612de3d9f1f..bd00adb18d288fce132a75435261f29be6a9868e 100644 |
--- a/tests/PaintTest.cpp |
+++ b/tests/PaintTest.cpp |
@@ -255,7 +255,7 @@ DEF_TEST(Paint_flattening, reporter) { |
FOR_SETUP(n, encodings, setTextEncoding) |
FOR_SETUP(p, styles, setStyle) |
- SkWriteBuffer writer; |
+ SkBinaryWriteBuffer writer; |
paint.flatten(writer); |
SkAutoMalloc buf(writer.bytesWritten()); |
@@ -295,7 +295,7 @@ DEF_TEST(Paint_MoreFlattening, r) { |
paint.setXfermode(SkXfermode::Make(SkXfermode::kModulate_Mode)); |
paint.setLooper(nullptr); // Default value, ignored. |
- SkWriteBuffer writer; |
+ SkBinaryWriteBuffer writer; |
paint.flatten(writer); |
SkAutoMalloc buf(writer.bytesWritten()); |