| Index: ui/gfx/mac/io_surface.cc
|
| diff --git a/ui/gfx/mac/io_surface.cc b/ui/gfx/mac/io_surface.cc
|
| index 8fb160325860807f469635c5f40356585072e623..ee10bf3efc3dae76a22ec91b2fe9075121e453fc 100644
|
| --- a/ui/gfx/mac/io_surface.cc
|
| +++ b/ui/gfx/mac/io_surface.cc
|
| @@ -210,8 +210,7 @@ IOSurfaceRef CreateIOSurface(const gfx::Size& size, gfx::BufferFormat format) {
|
| // Ensure that all IOSurfaces start as sRGB when color correct rendering
|
| // is enabled.
|
| static bool color_correct_rendering_enabled =
|
| - base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| - switches::kEnableColorCorrectRendering);
|
| + base::FeatureList::IsEnabled(features::kColorCorrectRendering);
|
| if (color_correct_rendering_enabled)
|
| force_color_space = true;
|
|
|
|
|