Index: gm/astcbitmap.cpp |
diff --git a/gm/astcbitmap.cpp b/gm/astcbitmap.cpp |
index a7d72bfbf4b8a1fd046eaf684d4d0d2ac3efe143..ca8a4f47f2eca84fd6de0f6ad53d42af624b37f3 100644 |
--- a/gm/astcbitmap.cpp |
+++ b/gm/astcbitmap.cpp |
@@ -62,7 +62,7 @@ DEF_SIMPLE_GM(astcbitmap, canvas, kGMDimension, kGMDimension) { |
DEF_SIMPLE_GM(astc_image, canvas, kGMDimension, kGMDimension) { |
for (int j = 0; j < 4; ++j) { |
for (int i = 0; i < 4; ++i) { |
- SkAutoTUnref<SkImage> image(GetResourceAsImage(get_astc_filename(j*4+i))); |
+ sk_sp<SkImage> image(GetResourceAsImage(get_astc_filename(j*4+i))); |
if (image) { |
const SkScalar bmX = static_cast<SkScalar>(i*kBitmapDimension); |
const SkScalar bmY = static_cast<SkScalar>(j*kBitmapDimension); |