Index: content/browser/renderer_host/render_widget_host_impl.cc |
diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc |
index 2d02a4f5b06820523b396f4892a2b8d9d584f130..9ae1ad4b019cb2d0513438144ccb8248a3fa3c42 100644 |
--- a/content/browser/renderer_host/render_widget_host_impl.cc |
+++ b/content/browser/renderer_host/render_widget_host_impl.cc |
@@ -680,10 +680,8 @@ bool RenderWidgetHostImpl::GetResizeParams(ResizeParams* resize_params) { |
// coloring. |
// TODO(ccameron): Disable this once color correct rasterization is functional |
// https://crbug.com/701942 |
- if (base::CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableHDR)) { |
- gfx::ColorSpace::CreateSRGB().GetICCProfile( |
- &resize_params->screen_info.icc_profile); |
- } |
+ if (base::CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableHDR)) |
+ resize_params->screen_info.color_space = gfx::ColorSpace::CreateSRGB(); |
if (delegate_) { |
resize_params->is_fullscreen_granted = |