Index: tests/DrawFilterTest.cpp |
diff --git a/tests/DrawFilterTest.cpp b/tests/DrawFilterTest.cpp |
index f3e0a77306c8dba5e1267845371ca118be38132d..ed23b701e59d346081efe4861aa03c81a631d312 100644 |
--- a/tests/DrawFilterTest.cpp |
+++ b/tests/DrawFilterTest.cpp |
@@ -27,7 +27,7 @@ public: |
* it was before the save. |
*/ |
static void test_saverestore(skiatest::Reporter* reporter) { |
- SkAutoTUnref<SkSurface> surface(SkSurface::NewRasterN32Premul(10, 10)); |
+ auto surface(SkSurface::MakeRasterN32Premul(10, 10)); |
SkCanvas* canvas = surface->getCanvas(); |
SkAutoTUnref<TestFilter> df(new TestFilter); |