Index: tests/RecordDrawTest.cpp |
diff --git a/tests/RecordDrawTest.cpp b/tests/RecordDrawTest.cpp |
index 8dfdc976f5a2d73ff20d8ecad871940d48863fc4..8d91fbc8d2a7171069097b9d81c8560a06452269 100644 |
--- a/tests/RecordDrawTest.cpp |
+++ b/tests/RecordDrawTest.cpp |
@@ -281,7 +281,7 @@ DEF_TEST(RecordDraw_drawImage, r){ |
SkAutoTUnref<SkSurface> surface(SkSurface::NewRasterN32Premul(10, 10)); |
surface->getCanvas()->clear(SK_ColorGREEN); |
- SkAutoTUnref<SkImage> image(surface->newImageSnapshot()); |
+ sk_sp<SkImage> image(surface->makeImageSnapshot()); |
SkCanvasMock canvas(10, 10); |