diff options
author | reed <reed@google.com> | 2015-01-07 18:04:45 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-01-07 18:04:45 -0800 |
commit | 5965c8ae4ee960275da4bc40189bdba85aab8b5e (patch) | |
tree | dc7f14af5cbce088311191a981b6ae67c2286be6 /tests/ImageDecodingTest.cpp | |
parent | 23d432080cb8506bf8e371b1637ce8f2de9c0c05 (diff) |
add ImageGenerator::NewFromData to porting layer
BUG=skia:3275
Review URL: https://codereview.chromium.org/834633006
Diffstat (limited to 'tests/ImageDecodingTest.cpp')
-rw-r--r-- | tests/ImageDecodingTest.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/ImageDecodingTest.cpp b/tests/ImageDecodingTest.cpp index 762852d62a..528c295d93 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) { |