Commit c5a6ed4c authored by jam@chromium.org's avatar jam@chromium.org

Disable GPU process prelaunching in content_browsertests on Linux. This is...

Disable GPU process prelaunching in content_browsertests on Linux. This is causing lots of crashes inside base::LaunchProcess.

BUG=139209,90448
TBR=zmo
Review URL: https://chromiumcodereview.appspot.com/10827053

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148625 0039d316-1c4b-4281-b951-d872f2087c98
parent a7662d73
...@@ -118,7 +118,7 @@ const char kDisableGLMultisampling[] = "disable-gl-multisampling"; ...@@ -118,7 +118,7 @@ const char kDisableGLMultisampling[] = "disable-gl-multisampling";
// Do not launch the GPU process shortly after browser process launch. Instead // Do not launch the GPU process shortly after browser process launch. Instead
// launch it when it is first needed. // launch it when it is first needed.
const char kDisableGpuProcessPrelaunch[] = "diasable-gpu-process-prelaunch"; const char kDisableGpuProcessPrelaunch[] = "disable-gpu-process-prelaunch";
// Disable the GPU process sandbox. // Disable the GPU process sandbox.
const char kDisableGpuSandbox[] = "disable-gpu-sandbox"; const char kDisableGpuSandbox[] = "disable-gpu-sandbox";
......
...@@ -49,6 +49,11 @@ void ContentBrowserTest::SetUp() { ...@@ -49,6 +49,11 @@ void ContentBrowserTest::SetUp() {
CommandLine* command_line = CommandLine::ForCurrentProcess(); CommandLine* command_line = CommandLine::ForCurrentProcess();
command_line->AppendSwitch(switches::kContentBrowserTest); command_line->AppendSwitch(switches::kContentBrowserTest);
#if defined(OS_LINUX)
// http://crbug.com/139209
command_line->AppendSwitch(switches::kDisableGpuProcessPrelaunch);
#endif
SetUpCommandLine(command_line); SetUpCommandLine(command_line);
#if defined(OS_MACOSX) #if defined(OS_MACOSX)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment