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 3a900fd7847dbbdaa4655d85a0a335f649e62122..826eddfa059a6d9052e7e80097c74815acd9e9d8 100644 |
--- a/third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp |
+++ b/third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp |
@@ -152,17 +152,14 @@ void testByteByByteSizeAvailable(const char* webpFile, |
if (length < frameOffset) { |
EXPECT_FALSE(decoder->isSizeAvailable()); |
EXPECT_TRUE(decoder->size().isEmpty()); |
- EXPECT_FALSE(decoder->hasColorProfile()); |
+ EXPECT_FALSE(decoder->hasColorSpace()); |
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()); |
- if (hasColorProfile) |
- EXPECT_TRUE(decoder->hasColorProfile()); |
- else |
- EXPECT_FALSE(decoder->hasColorProfile()); |
+ EXPECT_EQ(decoder->hasColorSpace(), hasColorProfile); |
EXPECT_EQ(1u, decoder->frameCount()); |
EXPECT_EQ(expectedRepetitionCount, decoder->repetitionCount()); |
} |