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

Unified Diff: content/browser/renderer_host/render_view_host_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 | « no previous file | content/common/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_view_host_impl.cc
diff --git a/content/browser/renderer_host/render_view_host_impl.cc b/content/browser/renderer_host/render_view_host_impl.cc
index 023cb5fafb7acd3f6a4bd7c3a4f25c2ed329eab0..773351bf87b55f66d74283a4d22081fd3fc214d2 100644
--- a/content/browser/renderer_host/render_view_host_impl.cc
+++ b/content/browser/renderer_host/render_view_host_impl.cc
@@ -370,8 +370,7 @@ bool RenderViewHostImpl::CreateRenderView(
params.min_size = GetWidget()->min_size_for_auto_resize();
params.max_size = GetWidget()->max_size_for_auto_resize();
params.page_zoom_level = delegate_->GetPendingPageZoomLevel();
- params.image_decode_color_profile =
- gfx::ColorSpace::FromBestMonitor().GetICCProfile();
+ params.image_decode_color_space = gfx::ColorSpace::FromBestMonitor();
GetWidget()->GetResizeParams(&params.initial_size);
if (!Send(new ViewMsg_New(params)))
« no previous file with comments | « no previous file | content/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698