Index: tests/ImageIsOpaqueTest.cpp |
diff --git a/tests/ImageIsOpaqueTest.cpp b/tests/ImageIsOpaqueTest.cpp |
index 3c08e48bec717541a7b050ded88f4c20ddfd2820..95a9d59aede7af749a6b75042e7cc798daf40922 100644 |
--- a/tests/ImageIsOpaqueTest.cpp |
+++ b/tests/ImageIsOpaqueTest.cpp |
@@ -19,7 +19,7 @@ |
static void test_flatten(skiatest::Reporter* reporter, const SkImageInfo& info) { |
// just need a safe amount of storage, but ensure that it is 4-byte aligned. |
int32_t storage[(sizeof(SkImageInfo)*2) / sizeof(int32_t)]; |
- SkWriteBuffer wb(storage, sizeof(storage)); |
+ SkBinaryWriteBuffer wb(storage, sizeof(storage)); |
info.flatten(wb); |
SkASSERT(wb.bytesWritten() < sizeof(storage)); |