Migrate BrowserThread::IsMessageLoopValid to BrowserThread::IsThreadInitialized.
https://chromium-review.googlesource.com/977063
This commit is contained in:
parent
7bd1b85d4e
commit
00423b06c6
1 changed files with 1 additions and 1 deletions
|
@ -1045,7 +1045,7 @@ bool ProcessSingleton::Create() {
|
||||||
|
|
||||||
sock_ = sock;
|
sock_ = sock;
|
||||||
|
|
||||||
if (BrowserThread::IsMessageLoopValid(BrowserThread::IO)) {
|
if (BrowserThread::IsThreadInitialized(BrowserThread::IO)) {
|
||||||
StartListeningOnSocket();
|
StartListeningOnSocket();
|
||||||
} else {
|
} else {
|
||||||
listen_on_ready_ = true;
|
listen_on_ready_ = true;
|
||||||
|
|
Loading…
Reference in a new issue