Index: tests/RecorderTest.cpp |
diff --git a/tests/RecorderTest.cpp b/tests/RecorderTest.cpp |
index 59d5a8e6cdac217da1836fcbf85e54dfa92e9a92..a709a51381d29dfa91dacb4fb63f839b863f59d7 100644 |
--- a/tests/RecorderTest.cpp |
+++ b/tests/RecorderTest.cpp |
@@ -74,7 +74,7 @@ DEF_TEST(Recorder_drawImage_takeReference, reporter) { |
sk_sp<SkImage> image; |
{ |
- SkAutoTUnref<SkSurface> surface(SkSurface::NewRasterN32Premul(100, 100)); |
+ auto surface(SkSurface::MakeRasterN32Premul(100, 100)); |
surface->getCanvas()->clear(SK_ColorGREEN); |
image = surface->makeImageSnapshot(); |
} |