Index: gm/colorwheel.cpp |
diff --git a/gm/colorwheel.cpp b/gm/colorwheel.cpp |
index efa3a6b0b4a5c59080ccde33700a5be2fded14ff..530e0c2eed22b3169c30832381806a5859d0dbee 100644 |
--- a/gm/colorwheel.cpp |
+++ b/gm/colorwheel.cpp |
@@ -12,7 +12,7 @@ |
#include "sk_tool_utils.h" |
static void draw_image(SkCanvas* canvas, const char* resource, int x, int y) { |
- SkAutoTUnref<SkImage> image(GetResourceAsImage(resource)); |
+ sk_sp<SkImage> image(GetResourceAsImage(resource)); |
if (image) { |
canvas->drawImage(image, SkIntToScalar(x), SkIntToScalar(y)); |
} else { |