| 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..145d9c756d95b3a26d5641ae316ae749811e4188 100644
|
| --- a/chrome/browser/extensions/api/messaging/native_message_process_host.cc
|
| +++ b/chrome/browser/extensions/api/messaging/native_message_process_host.cc
|
| @@ -197,9 +197,12 @@ 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,
|
| - &read_watcher_, this);
|
| + base::MessageLoopForIO::current()->WatchFileDescriptor(
|
| + read_file_,
|
| + false /* persistent */,
|
| + base::MessageLoopForIO::WATCH_READ,
|
| + &read_watcher_,
|
| + this);
|
| #else // defined(OS_POSIX)
|
| DoRead();
|
| #endif // defined(!OS_POSIX)
|
|
|