| Index: ipc/ipc_sync_channel.cc
|
| diff --git a/ipc/ipc_sync_channel.cc b/ipc/ipc_sync_channel.cc
|
| index 8e3f4115b5a5c8426c13edc583389b57faeb822b..fe2b61b193ef3bab906c8a7e36a86d4b1c259a35 100644
|
| --- a/ipc/ipc_sync_channel.cc
|
| +++ b/ipc/ipc_sync_channel.cc
|
| @@ -14,6 +14,7 @@
|
| #include "base/location.h"
|
| #include "base/logging.h"
|
| #include "base/memory/ptr_util.h"
|
| +#include "base/run_loop.h"
|
| #include "base/synchronization/waitable_event.h"
|
| #include "base/synchronization/waitable_event_watcher.h"
|
| #include "base/threading/thread_local.h"
|
| @@ -566,7 +567,7 @@ void SyncChannel::WaitForReplyWithNestedMessageLoop(SyncContext* context) {
|
| {
|
| base::MessageLoop::ScopedNestableTaskAllower allow(
|
| base::MessageLoop::current());
|
| - base::MessageLoop::current()->Run();
|
| + base::RunLoop().Run();
|
| }
|
|
|
| sync_msg_queue->set_top_send_done_watcher(old_send_done_event_watcher);
|
|
|