| Index: content/browser/web_contents/web_contents_view_aura.cc
|
| diff --git a/content/browser/web_contents/web_contents_view_aura.cc b/content/browser/web_contents/web_contents_view_aura.cc
|
| index 84b906e8b9659006777f8fbae1bd2befb04e3d84..58b55db1bcfcbf53ca99f99ea4ec2bf54aad9617 100644
|
| --- a/content/browser/web_contents/web_contents_view_aura.cc
|
| +++ b/content/browser/web_contents/web_contents_view_aura.cc
|
| @@ -711,10 +711,7 @@ void GetScreenInfoForWindow(ScreenInfo* results,
|
| results->depth_per_component = display.depth_per_component();
|
| results->is_monochrome = display.is_monochrome();
|
| results->device_scale_factor = display.device_scale_factor();
|
| - results->icc_profile = gfx::ICCProfile::FromBestMonitor();
|
| - if (!results->icc_profile.IsValid())
|
| - gfx::ColorSpace::CreateSRGB().GetICCProfile(&results->icc_profile);
|
| - DCHECK(results->icc_profile.IsValid());
|
| + display.color_space().GetICCProfile(&results->icc_profile);
|
|
|
| // The Display rotation and the ScreenInfo orientation are not the same
|
| // angle. The former is the physical display rotation while the later is the
|
|
|