Index: tools/lua/lua_pictures.cpp |
diff --git a/tools/lua/lua_pictures.cpp b/tools/lua/lua_pictures.cpp |
index 6c7087fc053389ef94c3b88cb8be86ae4fc12885..d579f2e63034cade68442645e6a1250a6f8ea56b 100644 |
--- a/tools/lua/lua_pictures.cpp |
+++ b/tools/lua/lua_pictures.cpp |
@@ -39,7 +39,7 @@ DEFINE_string2(tailFunc, s, "", "Optional lua function to call at end"); |
DEFINE_bool2(quiet, q, false, "Silence all non-error related output"); |
static SkPicture* load_picture(const char path[]) { |
- SkAutoTUnref<SkStream> stream(SkStream::NewFromFile(path)); |
+ SkAutoTDelete<SkStream> stream(SkStream::NewFromFile(path)); |
SkPicture* pic = NULL; |
if (stream.get()) { |
pic = SkPicture::CreateFromStream(stream.get(), &sk_tools::LazyDecodeBitmap); |