Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(107)

Unified Diff: tests/CodexTest.cpp

Issue 1061713007: Adding png scanline decoding to kIndex8 (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« src/codec/SkCodec_libpng.cpp ('K') | « src/codec/SkCodec_libpng.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/CodexTest.cpp
diff --git a/tests/CodexTest.cpp b/tests/CodexTest.cpp
index d7142518a33892515865232a9183689659679990..859a00fe58f490e4d12ddb40f7d7392167725550 100644
--- a/tests/CodexTest.cpp
+++ b/tests/CodexTest.cpp
@@ -68,7 +68,7 @@ static void check(skiatest::Reporter* r,
md5(bm, &digest2);
REPORTER_ASSERT(r, digest1 == digest2);
- SkScanlineDecoder* scanlineDecoder = codec->getScanlineDecoder(info);
+ SkScanlineDecoder* scanlineDecoder = codec->getScanlineDecoder(info, NULL, NULL, NULL);
if (supportsScanlineDecoding) {
bm.eraseColor(SK_ColorYELLOW);
REPORTER_ASSERT(r, scanlineDecoder);
« src/codec/SkCodec_libpng.cpp ('K') | « src/codec/SkCodec_libpng.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698