| Index: ui/display/mac/screen_mac.mm
|
| diff --git a/ui/display/mac/screen_mac.mm b/ui/display/mac/screen_mac.mm
|
| index 08eb61de60974073d84899ef43147e11913b6d3d..4621dfabc766680ad8cf21748b11d791ba9678e8 100644
|
| --- a/ui/display/mac/screen_mac.mm
|
| +++ b/ui/display/mac/screen_mac.mm
|
| @@ -18,10 +18,6 @@
|
| #include "ui/display/display.h"
|
| #include "ui/display/display_change_notifier.h"
|
| #include "ui/gfx/mac/coordinate_conversion.h"
|
| -
|
| -extern "C" {
|
| -Boolean CGDisplayUsesForceToGray(void);
|
| -}
|
|
|
| namespace display {
|
| namespace {
|
| @@ -75,13 +71,6 @@
|
| scale = Display::GetForcedDeviceScaleFactor();
|
|
|
| display.set_device_scale_factor(scale);
|
| -
|
| - display.set_icc_profile(
|
| - gfx::ICCProfile::FromCGColorSpace([[screen colorSpace] CGColorSpace]));
|
| - display.set_color_depth(NSBitsPerPixelFromDepth([screen depth]));
|
| - display.set_depth_per_component(NSBitsPerSampleFromDepth([screen depth]));
|
| - display.set_is_monochrome(CGDisplayUsesForceToGray());
|
| -
|
| // CGDisplayRotation returns a double. Display::SetRotationAsDegree will
|
| // handle the unexpected situations were the angle is not a multiple of 90.
|
| display.SetRotationAsDegree(static_cast<int>(CGDisplayRotation(display_id)));
|
|
|