Migrate BrowserThread::IsMessageLoopValid to BrowserThread::IsThreadInitialized.

https://chromium-review.googlesource.com/977063
This commit is contained in:
Aleksei Kuzmin 2018-07-20 17:58:47 +02:00
parent 7bd1b85d4e
commit 00423b06c6

View file

@ -1045,7 +1045,7 @@ bool ProcessSingleton::Create() {
sock_ = sock;
if (BrowserThread::IsMessageLoopValid(BrowserThread::IO)) {
if (BrowserThread::IsThreadInitialized(BrowserThread::IO)) {
StartListeningOnSocket();
} else {
listen_on_ready_ = true;