diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-06 16:56:19 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-06 16:56:19 +0000 |
commit | 7ff48ca7c36e03a70d42838b57d7576fd6866fd3 (patch) | |
tree | a4094090054ef5954b381625c6116b5cf9ad49d1 /base/message_loop_unittest.cc | |
parent | 3eb2899b90415acb389db29933f1bfe249f6355d (diff) | |
download | chromium_src-7ff48ca7c36e03a70d42838b57d7576fd6866fd3.zip chromium_src-7ff48ca7c36e03a70d42838b57d7576fd6866fd3.tar.gz chromium_src-7ff48ca7c36e03a70d42838b57d7576fd6866fd3.tar.bz2 |
base: Convert the remaining uses of MessageLoop::RunUntilIdle to RunLoop variant.
The former method is deprecated and actually it is just using RunLoop internally.
The later is the cannonical method and should be used instead.
BUG=131220
TEST=base_unittests
R=darin@chromium.org
Review URL: https://chromiumcodereview.appspot.com/12226007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180991 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/message_loop_unittest.cc')
-rw-r--r-- | base/message_loop_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/message_loop_unittest.cc b/base/message_loop_unittest.cc index c839fac..984a025 100644 --- a/base/message_loop_unittest.cc +++ b/base/message_loop_unittest.cc @@ -327,7 +327,7 @@ void RunTest_PostDelayedTask_SharedTimer( // and then run all pending to force them both to have run. This is just // encouraging flakiness if there is any. PlatformThread::Sleep(TimeDelta::FromMilliseconds(100)); - loop.RunUntilIdle(); + base::RunLoop().RunUntilIdle(); EXPECT_TRUE(run_time1.is_null()); EXPECT_FALSE(run_time2.is_null()); @@ -383,7 +383,7 @@ void RunTest_PostDelayedTask_SharedTimer_SubPump() { // and then run all pending to force them both to have run. This is just // encouraging flakiness if there is any. PlatformThread::Sleep(TimeDelta::FromMilliseconds(100)); - loop.RunUntilIdle(); + base::RunLoop().RunUntilIdle(); EXPECT_TRUE(run_time.is_null()); } |