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

Unified Diff: third_party/WebKit/Source/platform/graphics/test/MockImageDecoder.h

Issue 2454123002: Refactor image decoders to use 'colorSpace' instead of 'colorProfile' (Closed)
Patch Set: 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/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);
}

Powered by Google App Engine
This is Rietveld 408576698