diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-23 07:12:22 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-23 07:12:22 +0000 |
commit | 781a7edbdb3288b237acbeff4926b47b243cef17 (patch) | |
tree | 04a76bff6c816a5a1095583bd6029485fdc1312b /ipc | |
parent | aab929a85b3bfe1113902dec3e5c723c552fdfda (diff) | |
download | chromium_src-781a7edbdb3288b237acbeff4926b47b243cef17.zip chromium_src-781a7edbdb3288b237acbeff4926b47b243cef17.tar.gz chromium_src-781a7edbdb3288b237acbeff4926b47b243cef17.tar.bz2 |
Add MessageLoop::QuitNow and use it to terminate a sync IPC.
This is a test to observe the performance impact of this change.
As such, I'm reverting r39518 as part of this change.
R=jam
BUG=36310
TEST=none
Review URL: http://codereview.chromium.org/652089
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39699 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc')
-rw-r--r-- | ipc/ipc_sync_channel.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc/ipc_sync_channel.cc b/ipc/ipc_sync_channel.cc index 3aa7a26..bb0a245 100644 --- a/ipc/ipc_sync_channel.cc +++ b/ipc/ipc_sync_channel.cc @@ -350,7 +350,7 @@ void SyncChannel::SyncContext::OnWaitableEventSignaled(WaitableEvent* event) { } else { // We got the reply, timed out or the process shutdown. DCHECK(event == GetSendDoneEvent()); - MessageLoop::current()->Quit(); + MessageLoop::current()->QuitNow(); } } |