Index: tools/visualize_color_gamut.cpp |
diff --git a/tools/visualize_color_gamut.cpp b/tools/visualize_color_gamut.cpp |
index cc15601b7d83286b08a0e4b35fe067ed5b333d14..1bacf5f179c662a07e3a54ca9f647d4ce7b55dc1 100644 |
--- a/tools/visualize_color_gamut.cpp |
+++ b/tools/visualize_color_gamut.cpp |
@@ -124,7 +124,7 @@ int main(int argc, char** argv) { |
SkDebugf("Cannot find input image.\n"); |
return -1; |
} |
- SkAutoTDelete<SkCodec> codec(SkCodec::NewFromData(data.get())); |
+ SkAutoTDelete<SkCodec> codec(SkCodec::NewFromData(data)); |
if (!codec) { |
SkDebugf("Invalid input image.\n"); |
return -1; |