Index: tools/dump_record.cpp |
diff --git a/tools/dump_record.cpp b/tools/dump_record.cpp |
index fc2e1026233bfbc49867d518a2d3623ae4ced6db..885046a1d1871076794880cf15285bb1947743fe 100644 |
--- a/tools/dump_record.cpp |
+++ b/tools/dump_record.cpp |
@@ -46,7 +46,7 @@ int tool_main(int argc, char** argv) { |
continue; |
} |
- SkAutoTUnref<SkStream> stream(SkStream::NewFromFile(FLAGS_skps[i])); |
+ SkAutoTDelete<SkStream> stream(SkStream::NewFromFile(FLAGS_skps[i])); |
if (!stream) { |
SkDebugf("Could not read %s.\n", FLAGS_skps[i]); |
exit(1); |