Commit 1762c8f9 authored by jiayl's avatar jiayl Committed by Commit bot

Abort if BrowserMainLoops fails to start a browser thread

BUG=390853

Review URL: https://codereview.chromium.org/549303003

Cr-Commit-Position: refs/heads/master@{#295501}
parent bf547ab8
......@@ -715,7 +715,9 @@ int BrowserMainLoop::CreateThreads() {
if (thread_to_start) {
(*thread_to_start).reset(new BrowserProcessSubThread(id));
(*thread_to_start)->StartWithOptions(options);
if (!(*thread_to_start)->StartWithOptions(options)) {
LOG(FATAL) << "Failed to start the browser thread: id == " << id;
}
} else {
NOTREACHED();
}
......
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