Index: bench/nanobench.cpp |
diff --git a/bench/nanobench.cpp b/bench/nanobench.cpp |
index e2fcaaae91e5dbeaed0b31d665e578cc53748f09..169a0eea51a436d2e5fe58675c50fd10f44b05e8 100644 |
--- a/bench/nanobench.cpp |
+++ b/bench/nanobench.cpp |
@@ -476,7 +476,7 @@ public: |
return false; |
} |
- SkAutoTUnref<SkStream> stream(SkStream::NewFromFile(path)); |
+ SkAutoTDelete<SkStream> stream(SkStream::NewFromFile(path)); |
if (stream.get() == NULL) { |
SkDebugf("Could not read %s.\n", path); |
return false; |