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

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

Issue 2462803002: Plumb color space to DecodingImageGenerator and ImageFrameGenerator (Closed)
Patch Set: Incorporate review feedback Created 4 years, 1 month 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
« no previous file with comments | « third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoder.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 878d2f47d4adfbead25ace8ca333b9cb29a292ac..3eb42c9fc6ec6f86adf708eea2de51ce20ad49d6 100644
--- a/third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp
+++ b/third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp
@@ -152,14 +152,14 @@ void testByteByByteSizeAvailable(const char* webpFile,
if (length < frameOffset) {
EXPECT_FALSE(decoder->isSizeAvailable());
EXPECT_TRUE(decoder->size().isEmpty());
- EXPECT_FALSE(decoder->hasColorSpace());
+ EXPECT_FALSE(decoder->hasEmbeddedColorSpace());
EXPECT_EQ(0u, decoder->frameCount());
EXPECT_EQ(cAnimationLoopOnce, decoder->repetitionCount());
EXPECT_FALSE(decoder->frameBufferAtIndex(0));
} else {
EXPECT_TRUE(decoder->isSizeAvailable());
EXPECT_FALSE(decoder->size().isEmpty());
- EXPECT_EQ(decoder->hasColorSpace(), hasColorSpace);
+ EXPECT_EQ(decoder->hasEmbeddedColorSpace(), hasColorSpace);
EXPECT_EQ(1u, decoder->frameCount());
EXPECT_EQ(expectedRepetitionCount, decoder->repetitionCount());
}
« no previous file with comments | « third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoder.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698