summaryrefslogtreecommitdiffstats
path: root/ipc/ipc_sync_channel.cc
diff options
context:
space:
mode:
authorxhwang@chromium.org <xhwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-30 20:55:03 +0000
committerxhwang@chromium.org <xhwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-30 20:55:03 +0000
commitfd0a773a19c92b94a59b9207f4cc9b154f54a144 (patch)
treed10fc47c74d613100cbd4408137194a55573dd6d /ipc/ipc_sync_channel.cc
parentfb4d0a34d327edf6f7abc03eec53e87243396cf0 (diff)
downloadchromium_src-fd0a773a19c92b94a59b9207f4cc9b154f54a144.zip
chromium_src-fd0a773a19c92b94a59b9207f4cc9b154f54a144.tar.gz
chromium_src-fd0a773a19c92b94a59b9207f4cc9b154f54a144.tar.bz2
ipc: Use base::MessageLoop.
BUG=236029 R=agl@chromium.org Review URL: https://chromiumcodereview.appspot.com/14383024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197465 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/ipc_sync_channel.cc')
-rw-r--r--ipc/ipc_sync_channel.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/ipc/ipc_sync_channel.cc b/ipc/ipc_sync_channel.cc
index 1ce9f6c..50d48ea 100644
--- a/ipc/ipc_sync_channel.cc
+++ b/ipc/ipc_sync_channel.cc
@@ -395,7 +395,7 @@ void SyncChannel::SyncContext::OnWaitableEventSignaled(WaitableEvent* event) {
} else {
// We got the reply, timed out or the process shutdown.
DCHECK_EQ(GetSendDoneEvent(), event);
- MessageLoop::current()->QuitNow();
+ base::MessageLoop::current()->QuitNow();
}
}
@@ -542,8 +542,9 @@ void SyncChannel::WaitForReplyWithNestedMessageLoop(SyncContext* context) {
context->MakeWaitableEventCallback());
{
- MessageLoop::ScopedNestableTaskAllower allow(MessageLoop::current());
- MessageLoop::current()->Run();
+ base::MessageLoop::ScopedNestableTaskAllower allow(
+ base::MessageLoop::current());
+ base::MessageLoop::current()->Run();
}
sync_msg_queue->set_top_send_done_watcher(old_send_done_event_watcher);