Chromium Code Reviews| Index: content/browser/browser_main_loop.cc |
| diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc |
| index 9b6275d08718b0a76e62990aa88fc9828b341ec6..3af4f47fce4470263f826efa02049c2d4ce8b1e9 100644 |
| --- a/content/browser/browser_main_loop.cc |
| +++ b/content/browser/browser_main_loop.cc |
| @@ -1127,7 +1127,7 @@ int BrowserMainLoop::CreateThreads() { |
| (*thread_to_start) |
| .reset(message_loop ? new BrowserProcessSubThread(id, message_loop) |
| : new BrowserProcessSubThread(id)); |
| - if (!(*thread_to_start)->StartWithOptions(options)) |
| + if (!message_loop && !(*thread_to_start)->StartWithOptions(options)) |
|
gab
2017/04/13 15:39:12
Ah I see, hadn't parsed that this wasn't about add
boliu
2017/04/13 16:30:05
Done.
|
| LOG(FATAL) << "Failed to start the browser thread: id == " << id; |
| } else { |
| scoped_refptr<base::SingleThreadTaskRunner> redirection_task_runner = |