| Index: tests/ImageDecodingTest.cpp
|
| diff --git a/tests/ImageDecodingTest.cpp b/tests/ImageDecodingTest.cpp
|
| index 762852d62a5e9189b808532199486d2c5cf250f7..528c295d93222c72d1408c54a85a397444539f77 100644
|
| --- a/tests/ImageDecodingTest.cpp
|
| +++ b/tests/ImageDecodingTest.cpp
|
| @@ -455,9 +455,7 @@ DEF_TEST(WebP, reporter) {
|
| sizeof(encodedWebP)));
|
| SkBitmap bm;
|
|
|
| - bool success = SkInstallDiscardablePixelRef(
|
| - SkDecodingImageGenerator::Create(encoded,
|
| - SkDecodingImageGenerator::Options()), &bm);
|
| + bool success = SkInstallDiscardablePixelRef(encoded, &bm);
|
|
|
| REPORTER_ASSERT(reporter, success);
|
| if (!success) {
|
|
|