| Index: base/message_loop.cc
|
| diff --git a/base/message_loop.cc b/base/message_loop.cc
|
| index f60bf69d8302a2c8122cbf26ef5948f340656178..f0ffa195a297df252d7c2b0c8d77524f284f6857 100644
|
| --- a/base/message_loop.cc
|
| +++ b/base/message_loop.cc
|
| @@ -148,10 +148,12 @@ MessageLoop::MessageLoop(Type type)
|
| #define MESSAGE_PUMP_UI base::MessagePumpMac::Create()
|
| #define MESSAGE_PUMP_IO new base::MessagePumpLibevent()
|
| #elif defined(OS_NACL)
|
| -// Currently NaCl doesn't have a UI or an IO MessageLoop.
|
| -// TODO(abarth): Figure out if we need these.
|
| +// Currently NaCl doesn't have a UI MessageLoop.
|
| +// TODO(abarth): Figure out if we need this.
|
| #define MESSAGE_PUMP_UI NULL
|
| -#define MESSAGE_PUMP_IO NULL
|
| +// ipc_channel_nacl.cc uses a worker thread to do socket reads currently, and
|
| +// doesn't require extra support for watching file descriptors.
|
| +#define MESSAGE_PUMP_IO new base::MessagePumpDefault();
|
| #elif defined(OS_POSIX) // POSIX but not MACOSX.
|
| #define MESSAGE_PUMP_UI new base::MessagePumpForUI()
|
| #define MESSAGE_PUMP_IO new base::MessagePumpLibevent()
|
|
|