| Index: chrome/browser/extensions/api/messaging/native_message_process_host.cc
|
| diff --git a/chrome/browser/extensions/api/messaging/native_message_process_host.cc b/chrome/browser/extensions/api/messaging/native_message_process_host.cc
|
| index 6e32df8fcc1c34f1139fcde39403474b965ffd06..a856d2bab4cc1d4dbe0a51c82fbe5fc23bdeb0d1 100644
|
| --- a/chrome/browser/extensions/api/messaging/native_message_process_host.cc
|
| +++ b/chrome/browser/extensions/api/messaging/native_message_process_host.cc
|
| @@ -197,8 +197,8 @@ void NativeMessageProcessHost::WaitRead() {
|
| // would always be consuming one thread in the thread pool. On Windows
|
| // FileStream uses overlapped IO, so that optimization isn't necessary there.
|
| #if defined(OS_POSIX)
|
| - MessageLoopForIO::current()->WatchFileDescriptor(
|
| - read_file_, false /* persistent */, MessageLoopForIO::WATCH_READ,
|
| + base::MessageLoopForIO::current()->WatchFileDescriptor(
|
| + read_file_, false /* persistent */, base::MessageLoopForIO::WATCH_READ,
|
| &read_watcher_, this);
|
| #else // defined(OS_POSIX)
|
| DoRead();
|
|
|