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

Unified Diff: third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp

Issue 2426723005: Use SkColorSpaceXform to handle color conversions in decoders (Closed)
Patch Set: Remove ifdefs - fixes blink_platform_unittests Created 4 years, 2 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
Index: third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp
diff --git a/third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp b/third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp
index fc7661487f3ee0f1c05804d22e85a372cf579993..3a900fd7847dbbdaa4655d85a0a335f649e62122 100644
--- a/third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp
+++ b/third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp
@@ -159,14 +159,10 @@ void testByteByByteSizeAvailable(const char* webpFile,
} else {
EXPECT_TRUE(decoder->isSizeAvailable());
EXPECT_FALSE(decoder->size().isEmpty());
-#if USE(QCMSLIB)
if (hasColorProfile)
EXPECT_TRUE(decoder->hasColorProfile());
else
EXPECT_FALSE(decoder->hasColorProfile());
-#else
- EXPECT_FALSE(decoder->hasColorProfile());
-#endif
EXPECT_EQ(1u, decoder->frameCount());
EXPECT_EQ(expectedRepetitionCount, decoder->repetitionCount());
}

Powered by Google App Engine
This is Rietveld 408576698