Index: third_party/WebKit/Source/platform/graphics/test/MockImageDecoder.h |
diff --git a/third_party/WebKit/Source/platform/graphics/test/MockImageDecoder.h b/third_party/WebKit/Source/platform/graphics/test/MockImageDecoder.h |
index c3058810c992f4cfd2b29439c248cc55426a4ca2..5eb7769b23379a45534f4a181604653a5564d9d3 100644 |
--- a/third_party/WebKit/Source/platform/graphics/test/MockImageDecoder.h |
+++ b/third_party/WebKit/Source/platform/graphics/test/MockImageDecoder.h |
@@ -67,7 +67,7 @@ class MockImageDecoder : public ImageDecoder { |
MockImageDecoder(MockImageDecoderClient* client) |
: ImageDecoder(AlphaPremultiplied, |
- GammaAndColorProfileApplied, |
+ ColorSpaceApplied, |
noDecodedImageByteLimit), |
m_client(client) {} |
@@ -111,8 +111,8 @@ class MockImageDecoder : public ImageDecoder { |
} |
void initializeNewFrame(size_t index) override { |
- m_frameBufferCache[index].setSizeAndColorProfile( |
- size().width(), size().height(), colorProfile()); |
+ m_frameBufferCache[index].setSizeAndColorSpace( |
+ size().width(), size().height(), colorSpace()); |
m_frameBufferCache[index].setHasAlpha(false); |
} |