Chromium Code Reviews| 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 33eb38197875c695da52cb90e2df86b976af3a48..fc073a0ab243235feb6088ae977eb40e44632bd4 100644 |
| --- a/content/browser/web_contents/web_contents_view_aura.cc |
| +++ b/content/browser/web_contents/web_contents_view_aura.cc |
| @@ -665,6 +665,10 @@ void GetScreenInfoForWindow(ScreenInfo* results, |
| results->depth_per_component = 8; |
| results->is_monochrome = false; |
| results->device_scale_factor = display.device_scale_factor(); |
| + results->icc_profile = gfx::ICCProfile::FromBestMonitor(); |
| + if (results->icc_profile == gfx::ICCProfile()) |
| + results->icc_profile = |
| + gfx::ICCProfile::FromColorSpace(gfx::ColorSpace::CreateSRGB()); |
|
sadrul
2016/11/17 21:42:43
{}?
zakerinasab
2016/11/18 14:38:27
Done.
|
| // The Display rotation and the ScreenInfo orientation are not the same |
| // angle. The former is the physical display rotation while the later is the |