aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/DrawFilterTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/DrawFilterTest.cpp')
-rw-r--r--tests/DrawFilterTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/DrawFilterTest.cpp b/tests/DrawFilterTest.cpp
index f3e0a77306..ed23b701e5 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);