Index: tests/GifTest.cpp |
diff --git a/tests/GifTest.cpp b/tests/GifTest.cpp |
index caa0f6ffc9e50e0614f9d933be1287821068a006..7f02cc1c6a543b42958137fbd43ce57c3687ffbd 100644 |
--- a/tests/GifTest.cpp |
+++ b/tests/GifTest.cpp |
@@ -198,7 +198,7 @@ DEF_TEST(Gif_Sampled, r) { |
return; |
} |
- SkAutoTDelete<SkAndroidCodec> codec(SkAndroidCodec::NewFromStream(stream.detach())); |
+ SkAutoTDelete<SkAndroidCodec> codec(SkAndroidCodec::NewFromStream(stream.release())); |
REPORTER_ASSERT(r, codec); |
if (!codec) { |
return; |