| 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 55740b365855679c1e85b8ab849815df263dbf8a..bf0b84e9efa8736c4401c7406db5114a54334fc5 100644
|
| --- a/content/shell/app/shell_main_delegate.cc
|
| +++ b/content/shell/app/shell_main_delegate.cc
|
| @@ -44,6 +44,7 @@
|
| #include "ui/base/ui_base_paths.h"
|
| #include "ui/base/ui_base_switches.h"
|
| #include "ui/display/display_switches.h"
|
| +#include "ui/gfx/switches.h"
|
| #include "ui/gl/gl_implementation.h"
|
| #include "ui/gl/gl_switches.h"
|
|
|
| @@ -212,6 +213,18 @@ 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)
|
| + command_line.AppendSwitchASCII(switches::kForceColorProfile,
|
| + "generic-rgb");
|
| +#else
|
| + command_line.AppendSwitchASCII(switches::kForceColorProfile, "srgb");
|
| +#endif
|
| + }
|
| +
|
| command_line.AppendSwitch(cc::switches::kDisallowNonExactResourceReuse);
|
|
|
| // Unless/until WebM files are added to the media layout tests, we need to
|
|
|