| Index: content/shell/app/shell_main_delegate.cc
|
| diff --git a/content/shell/app/shell_main_delegate.cc b/content/shell/app/shell_main_delegate.cc
|
| index e98bd852af77fa12d207b0151a2b2bcbd966ee42..546b0126a0dd88960e40b9dc4878968063d67161 100644
|
| --- a/content/shell/app/shell_main_delegate.cc
|
| +++ b/content/shell/app/shell_main_delegate.cc
|
| @@ -213,21 +213,11 @@ bool ShellMainDelegate::BasicStartupComplete(int* exit_code) {
|
| command_line.AppendSwitch(switches::kDisableGpuRasterization);
|
| }
|
|
|
| - // If the virtual test suite didn't specify a color space, then use the
|
| - // default layout test color space (GenericRGB for Mac and sRGB for all
|
| - // other platforms).
|
| - if (!command_line.HasSwitch(switches::kForceColorProfile)) {
|
| -#if defined(OS_MACOSX)
|
| - if (command_line.HasSwitch(switches::kEnableColorCorrectRendering)) {
|
| - command_line.AppendSwitchASCII(switches::kForceColorProfile, "srgb");
|
| - } else {
|
| - command_line.AppendSwitchASCII(switches::kForceColorProfile,
|
| - "generic-rgb");
|
| - }
|
| -#else
|
| + // Enable color correct rendering. If the virtual test suite didn't specify
|
| + // a color space, then use sRGB.
|
| + command_line.AppendSwitch(switches::kEnableColorCorrectRendering);
|
| + if (!command_line.HasSwitch(switches::kForceColorProfile))
|
| command_line.AppendSwitchASCII(switches::kForceColorProfile, "srgb");
|
| -#endif
|
| - }
|
|
|
| // We want stable/baseline results when running layout tests.
|
| command_line.AppendSwitch(switches::kDisableSkiaRuntimeOpts);
|
|
|