Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1517)

Unified Diff: chrome/browser/page_cycler/page_cycler_unittest.cc

Issue 11413050: chrome/browser: Update calls from RunAllPending() to RunUntilIdle(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/page_cycler/page_cycler_unittest.cc
diff --git a/chrome/browser/page_cycler/page_cycler_unittest.cc b/chrome/browser/page_cycler/page_cycler_unittest.cc
index 52b2418d823ac8951bc488ea6d0d8d5525d1a473..dd0bef715e307d1cd2586c40673e6537299e62ec 100644
--- a/chrome/browser/page_cycler/page_cycler_unittest.cc
+++ b/chrome/browser/page_cycler/page_cycler_unittest.cc
@@ -148,7 +148,7 @@ class PageCyclerTest : public BrowserWithTestWindowTest {
void PumpLoop() {
content::BrowserThread::GetBlockingPool()->FlushForTesting();
- message_loop()->RunAllPending();
+ message_loop()->RunUntilIdle();
}
void CloseBrowser() {
@@ -308,7 +308,7 @@ TEST_F(PageCyclerTest, KillBrowserAndAbort) {
DidFinishLoad(kFrameID, kAboutURL, kIsMainFrame, _))
.WillOnce(Invoke(page_cycler(),
&MockPageCycler::PageCyclerDidFinishLoad));
- message_loop()->RunAllPending();
+ message_loop()->RunUntilIdle();
FinishLoad();

Powered by Google App Engine
This is Rietveld 408576698