| Index: tests/CachedDecodingPixelRefTest.cpp
|
| diff --git a/tests/CachedDecodingPixelRefTest.cpp b/tests/CachedDecodingPixelRefTest.cpp
|
| index a0d71bbd70df41bd0741f408c5e54d06d751f937..fe6b412cd1e6aab2aca93a85f8c948c370512db3 100644
|
| --- a/tests/CachedDecodingPixelRefTest.cpp
|
| +++ b/tests/CachedDecodingPixelRefTest.cpp
|
| @@ -255,7 +255,7 @@ static void check_pixelref(TestImageGenerator::TestType type,
|
| SkAutoTDelete<SkImageGenerator> gen(new TestImageGenerator(type, reporter, colorType));
|
| REPORTER_ASSERT(reporter, gen.get() != nullptr);
|
| SkBitmap lazy;
|
| - bool success = SkDEPRECATED_InstallDiscardablePixelRef(gen.detach(), nullptr, &lazy, factory);
|
| + bool success = SkDEPRECATED_InstallDiscardablePixelRef(gen.release(), nullptr, &lazy, factory);
|
|
|
| REPORTER_ASSERT(reporter, success);
|
| if (TestImageGenerator::kSucceedGetPixels_TestType == type) {
|
|
|