aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/GifTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/GifTest.cpp')
-rw-r--r--tests/GifTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/GifTest.cpp b/tests/GifTest.cpp
index caa0f6ffc9..7f02cc1c6a 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;