summaryrefslogtreecommitdiffstats
path: root/base/synchronization
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-30 01:02:55 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-30 01:02:55 +0000
commit1f18bfe815cb85d18e42fdc80692828be710ad31 (patch)
tree6d9348d668a034238f327f28871256c5a5c88a33 /base/synchronization
parent68f29a9c7310cf90808f8b6791a2c4c0217e8ab6 (diff)
downloadchromium_src-1f18bfe815cb85d18e42fdc80692828be710ad31.zip
chromium_src-1f18bfe815cb85d18e42fdc80692828be710ad31.tar.gz
chromium_src-1f18bfe815cb85d18e42fdc80692828be710ad31.tar.bz2
base: Update calls froms RunAllPending() to RunUntilIdle().
BUG=131220 TEST=base_unittests R=willchan@chromium.org Review URL: https://chromiumcodereview.appspot.com/11339020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164802 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/synchronization')
-rw-r--r--base/synchronization/waitable_event_watcher_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/synchronization/waitable_event_watcher_unittest.cc b/base/synchronization/waitable_event_watcher_unittest.cc
index 8fa4e7b..8744aa2 100644
--- a/base/synchronization/waitable_event_watcher_unittest.cc
+++ b/base/synchronization/waitable_event_watcher_unittest.cc
@@ -95,7 +95,7 @@ void RunTest_CancelAfterSet(MessageLoop::Type message_loop_type) {
watcher.StopWatching();
- MessageLoop::current()->RunAllPending();
+ MessageLoop::current()->RunUntilIdle();
// Our delegate should not have fired.
EXPECT_EQ(1, counter);