| Index: chrome/browser/browser_main.cc
|
| diff --git a/chrome/browser/browser_main.cc b/chrome/browser/browser_main.cc
|
| index 6148e0c553444f458564ba16b6ffa6cd28d2f1c1..023fcb54c34749e2608ca3aa05d5b7f11b872437 100644
|
| --- a/chrome/browser/browser_main.cc
|
| +++ b/chrome/browser/browser_main.cc
|
| @@ -733,6 +733,9 @@ void CreateChildThreads(BrowserProcessImpl* process) {
|
| process->file_thread();
|
| process->process_launcher_thread();
|
| process->cache_thread();
|
| + if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kSingleProcess) ||
|
| + CommandLine::ForCurrentProcess()->HasSwitch(switches::kInProcessGPU))
|
| + process->gpu_thread();
|
| process->io_thread();
|
| #if defined(OS_CHROMEOS)
|
| process->web_socket_proxy_thread();
|
|
|