Index: src/views/animated/SkWidgetViews.cpp |
diff --git a/src/views/animated/SkWidgetViews.cpp b/src/views/animated/SkWidgetViews.cpp |
index 8e7f5175c9506bf5d5b78be810433d42a9430934..cd22678d922c467ada3468253389dd4410257919 100644 |
--- a/src/views/animated/SkWidgetViews.cpp |
+++ b/src/views/animated/SkWidgetViews.cpp |
@@ -42,7 +42,7 @@ const char* get_skin_enum_path(SkinEnum se) |
void init_skin_anim(const char path[], SkAnimator* anim) { |
SkASSERT(path && anim); |
- SkAutoTUnref<SkStream> stream(SkStream::NewFromFile(path)); |
+ SkAutoTDelete<SkStream> stream(SkStream::NewFromFile(path)); |
if (!stream.get()) { |
SkDEBUGF(("init_skin_anim: loading skin failed <%s>\n", path)); |
sk_throw(); |