| Index: content/renderer/render_view_impl.cc
|
| diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
|
| index 2cec6d9592482f086df2d5f70a2b0ddd0a7a3b37..16c58b5658665a6339d669556f48dda112acb34c 100644
|
| --- a/content/renderer/render_view_impl.cc
|
| +++ b/content/renderer/render_view_impl.cc
|
| @@ -2477,16 +2477,6 @@ void RenderViewImpl::SetDeviceScaleFactorForTesting(float factor) {
|
|
|
| void RenderViewImpl::SetDeviceColorProfileForTesting(
|
| const gfx::ICCProfile& icc_profile) {
|
| - // TODO(ccameron): Remove this call when color correct rendering is the
|
| - // default.
|
| - if (base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| - switches::kEnableColorCorrectRendering)) {
|
| - return;
|
| - }
|
| -
|
| - if (webview())
|
| - webview()->SetDeviceColorProfile(icc_profile);
|
| -
|
| ResizeParams params;
|
| params.screen_info = screen_info_;
|
| params.screen_info.icc_profile = icc_profile;
|
|
|