Index: tests/RecordDrawTest.cpp |
diff --git a/tests/RecordDrawTest.cpp b/tests/RecordDrawTest.cpp |
index 8d91fbc8d2a7171069097b9d81c8560a06452269..17d971126c569922eba6199b9fe4589619e7da30 100644 |
--- a/tests/RecordDrawTest.cpp |
+++ b/tests/RecordDrawTest.cpp |
@@ -279,7 +279,7 @@ DEF_TEST(RecordDraw_drawImage, r){ |
bool fDrawImageRectCalled; |
}; |
- SkAutoTUnref<SkSurface> surface(SkSurface::NewRasterN32Premul(10, 10)); |
+ auto surface(SkSurface::MakeRasterN32Premul(10, 10)); |
surface->getCanvas()->clear(SK_ColorGREEN); |
sk_sp<SkImage> image(surface->makeImageSnapshot()); |