Chromium Code Reviews| 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 173b4eda6757090736e4a38d275f82744a84106a..463e68d14e7c48351a43a8e7242ebca796722fd2 100644 |
| --- a/content/browser/renderer_host/render_view_host_impl.cc |
| +++ b/content/browser/renderer_host/render_view_host_impl.cc |
| @@ -84,6 +84,7 @@ |
| #include "ui/base/touch/touch_enabled.h" |
| #include "ui/base/ui_base_switches.h" |
| #include "ui/gfx/animation/animation.h" |
| +#include "ui/gfx/color_profile.h" |
| #include "ui/gfx/image/image_skia.h" |
| #include "ui/gfx/native_widget_types.h" |
| #include "ui/native_theme/native_theme_switches.h" |
| @@ -338,6 +339,7 @@ bool RenderViewHostImpl::CreateRenderView( |
| params.enable_auto_resize = GetWidget()->auto_resize_enabled(); |
| params.min_size = GetWidget()->min_size_for_auto_resize(); |
| params.max_size = GetWidget()->max_size_for_auto_resize(); |
| + params.image_decode_color_profile = gfx::ColorProfile().profile(); |
|
ccameron
2016/03/15 06:02:24
Note that this default constructor actually comput
|
| GetWidget()->GetResizeParams(¶ms.initial_size); |
| if (!Send(new ViewMsg_New(params))) |