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..a813e6721d545efc381991ac20245f89ad9cd629 100644 |
--- a/third_party/WebKit/Source/platform/graphics/test/MockImageDecoder.h |
+++ b/third_party/WebKit/Source/platform/graphics/test/MockImageDecoder.h |
@@ -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); |
} |