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

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

Issue 2203903002: Color: Read embedded ICC profiles regardless of QCMS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update tests Created 4 years, 4 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 f40291e9f883f4392f332f8b441e9956fb63571a..99e7518219f011ea64a1f82e81cb29dd8e90efd6 100644
--- a/third_party/WebKit/Source/platform/graphics/test/MockImageDecoder.h
+++ b/third_party/WebKit/Source/platform/graphics/test/MockImageDecoder.h
@@ -129,7 +129,7 @@ private:
void initializeNewFrame(size_t index) override
{
- m_frameBufferCache[index].setSize(size().width(), size().height());
+ m_frameBufferCache[index].setSizeAndColorProfile(size().width(), size().height(), colorProfile());
m_frameBufferCache[index].setHasAlpha(false);
}

Powered by Google App Engine
This is Rietveld 408576698