diff options
Diffstat (limited to 'chrome/browser/process_singleton_linux.cc')
-rw-r--r-- | chrome/browser/process_singleton_linux.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/process_singleton_linux.cc b/chrome/browser/process_singleton_linux.cc index 0268693..af2a519 100644 --- a/chrome/browser/process_singleton_linux.cc +++ b/chrome/browser/process_singleton_linux.cc @@ -466,8 +466,7 @@ void ProcessSingleton::LinuxWatcher::OnFileCanReadWithoutBlocking(int fd) { } void ProcessSingleton::LinuxWatcher::StartListening(int socket) { - DCHECK(ChromeThread::GetMessageLoop(ChromeThread::IO) == - MessageLoop::current()); + DCHECK(ChromeThread::CurrentlyOn(ChromeThread::IO)); // Watch for client connections on this socket. MessageLoopForIO* ml = MessageLoopForIO::current(); ml->AddDestructionObserver(this); |