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