Index: tests/PictureTest.cpp |
diff --git a/tests/PictureTest.cpp b/tests/PictureTest.cpp |
index 77fed2ffe3ecd3de5c2c2c5aab3c38055001f613..ab2fcb72397abd947194046f52341f95ec9605d8 100644 |
--- a/tests/PictureTest.cpp |
+++ b/tests/PictureTest.cpp |
@@ -1909,7 +1909,7 @@ DEF_TEST(Picture_BitmapLeak, r) { |
SkCanvas* canvas = rec.beginRecording(1920, 1200); |
canvas->drawBitmap(mut, 0, 0); |
canvas->drawBitmap(immut, 800, 600); |
- SkAutoTDelete<const SkPicture> pic(rec.endRecording()); |
+ SkAutoTUnref<const SkPicture> pic(rec.endRecording()); |
// The picture shares the immutable pixels but copies the mutable ones. |
REPORTER_ASSERT(r, mut.pixelRef()->unique()); |