| Index: ui/display/mac/screen_mac.mm
|
| diff --git a/ui/display/mac/screen_mac.mm b/ui/display/mac/screen_mac.mm
|
| index d74ab25c5c70c72d5130db68c8df71f930d54f67..d9d0734584e936e14bec5e06c5288cb54a9112bc 100644
|
| --- a/ui/display/mac/screen_mac.mm
|
| +++ b/ui/display/mac/screen_mac.mm
|
| @@ -84,8 +84,7 @@ Display BuildDisplayForScreen(NSScreen* screen) {
|
| // https://crbug.com/654488
|
| CGColorSpaceRef color_space = [[screen colorSpace] CGColorSpace];
|
| static bool color_correct_rendering_enabled =
|
| - base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| - switches::kEnableColorCorrectRendering);
|
| + base::FeatureList::IsEnabled(features::kColorCorrectRendering);
|
| if (base::mac::IsAtLeastOS10_12() && !color_correct_rendering_enabled)
|
| color_space = base::mac::GetSystemColorSpace();
|
|
|
|
|