Index: gm/colorfilterimagefilter.cpp |
diff --git a/gm/colorfilterimagefilter.cpp b/gm/colorfilterimagefilter.cpp |
index fa33a9c5cba739b80f6e80df8a2a9bfd5ea2fb55..f72108f433a85a473df0052f4e44d396a52c8447 100644 |
--- a/gm/colorfilterimagefilter.cpp |
+++ b/gm/colorfilterimagefilter.cpp |
@@ -66,7 +66,7 @@ static sk_sp<SkShader> sh_make_lineargradient1() { |
} |
static sk_sp<SkShader> sh_make_image() { |
- SkAutoTUnref<SkImage> image(GetResourceAsImage("mandrill_128.png")); |
+ sk_sp<SkImage> image(GetResourceAsImage("mandrill_128.png")); |
if (!image) { |
return nullptr; |
} |