| Index: tests/ColorSpaceTest.cpp
|
| diff --git a/tests/ColorSpaceTest.cpp b/tests/ColorSpaceTest.cpp
|
| index 555f41ec6ac5b84fd58d4ec40c12b634baaa323b..3361aa3420228ab23e54506b98a598a9365a95b4 100644
|
| --- a/tests/ColorSpaceTest.cpp
|
| +++ b/tests/ColorSpaceTest.cpp
|
| @@ -27,7 +27,7 @@ DEF_TEST(ColorSpaceParseICCProfile, r) {
|
| SkAutoTDelete<SkStream> stream(resource("color_wheel_with_profile.png"));
|
| REPORTER_ASSERT(r, nullptr != stream);
|
|
|
| - SkAutoTDelete<SkCodec> codec(SkCodec::NewFromStream(stream.detach()));
|
| + SkAutoTDelete<SkCodec> codec(SkCodec::NewFromStream(stream.release()));
|
| REPORTER_ASSERT(r, nullptr != codec);
|
|
|
| #if (PNG_LIBPNG_VER_MAJOR > 1) || (PNG_LIBPNG_VER_MAJOR == 1 && PNG_LIBPNG_VER_MINOR >= 6)
|
|
|