Index: gm/grayscalejpg.cpp |
diff --git a/gm/grayscalejpg.cpp b/gm/grayscalejpg.cpp |
index 70ea72e9bd3b94c42a8e4368ad1cdec73379b2b6..bc88ee13a6c838ac554b10f588c4b5769063bbd2 100644 |
--- a/gm/grayscalejpg.cpp |
+++ b/gm/grayscalejpg.cpp |
@@ -15,7 +15,7 @@ |
*/ |
DEF_SIMPLE_GM(grayscalejpg, canvas, 128, 128) { |
const char kResource[] = "grayscale.jpg"; |
- SkAutoTUnref<SkImage> image(GetResourceAsImage(kResource)); |
+ sk_sp<SkImage> image(GetResourceAsImage(kResource)); |
if (image) { |
canvas->drawImage(image, 0.0f, 0.0f); |
} else { |