diff options
Diffstat (limited to 'tests/YUVTest.cpp')
-rw-r--r-- | tests/YUVTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/YUVTest.cpp b/tests/YUVTest.cpp index e1d8961205..f7b3306b98 100644 --- a/tests/YUVTest.cpp +++ b/tests/YUVTest.cpp @@ -25,7 +25,7 @@ static void codec_yuv(skiatest::Reporter* reporter, INFOF(reporter, "Missing resource '%s'\n", path); return; } - SkAutoTDelete<SkCodec> codec(SkCodec::NewFromStream(stream.detach())); + SkAutoTDelete<SkCodec> codec(SkCodec::NewFromStream(stream.release())); REPORTER_ASSERT(reporter, codec); if (!codec) { return; |