Index: tests/SerializationTest.cpp |
diff --git a/tests/SerializationTest.cpp b/tests/SerializationTest.cpp |
index f8d6ea4297da670f9116c14fc4a20c6d51af2107..c58020724d2da9867884da1f0f0de800000f4ed5 100644 |
--- a/tests/SerializationTest.cpp |
+++ b/tests/SerializationTest.cpp |
@@ -286,7 +286,7 @@ |
for (int i = 0; i < 256; ++i) { |
table[i] = (i * 41) % 256; |
} |
- auto colorFilter(SkTableColorFilter::Make(table)); |
+ SkAutoTUnref<SkColorFilter> colorFilter(SkTableColorFilter::Create(table)); |
SkAutoTUnref<SkColorFilter> copy( |
TestFlattenableSerialization<SkColorFilter>(colorFilter.get(), true, reporter)); |
} |