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

Unified Diff: content/renderer/render_view_impl.cc

Issue 2150013003: Add IPC support for gfx::ColorSpace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git cl try Created 4 years, 5 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
« no previous file with comments | « content/public/common/BUILD.gn ('k') | ui/gfx/color_space.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index 866943a399e41244d27c7bdf378ad140c968c069..281b2c72d62b96a6891e2a0325d5fc911f53bc2c 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -725,7 +725,8 @@ void RenderViewImpl::Initialize(const ViewMsg_New_Params& params,
command_line.HasSwitch(switches::kRootLayerScrolls));
webview()->setShowFPSCounter(
command_line.HasSwitch(cc::switches::kShowFPSCounter));
- webview()->setDeviceColorProfile(params.image_decode_color_profile);
+ webview()->setDeviceColorProfile(
+ params.image_decode_color_space.GetICCProfile());
ApplyWebPreferencesInternal(webkit_preferences_, webview(), compositor_deps_);
« no previous file with comments | « content/public/common/BUILD.gn ('k') | ui/gfx/color_space.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698