Index: tools/visualize_color_gamut.cpp |
diff --git a/tools/visualize_color_gamut.cpp b/tools/visualize_color_gamut.cpp |
index 424106f9c4c903eb0513426f7e3b5f5b8eab734b..3da1e3c9362f2e0bc720974f825e047c3009dca6 100644 |
--- a/tools/visualize_color_gamut.cpp |
+++ b/tools/visualize_color_gamut.cpp |
@@ -159,7 +159,7 @@ int main(int argc, char** argv) { |
draw_gamut(&canvas, colorSpace->xyz(), input, 0xFF000000, true); |
// Finally, encode the result to the output file. |
- SkAutoTUnref<SkData> out(SkImageEncoder::EncodeData(gamut, SkImageEncoder::kPNG_Type, 100)); |
+ sk_sp<SkData> out(SkImageEncoder::EncodeData(gamut, SkImageEncoder::kPNG_Type, 100)); |
if (!out) { |
SkDebugf("Failed to encode gamut output.\n"); |
return -1; |