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

Unified Diff: chrome/browser/predictors/resource_prefetch_predictor_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/predictors/resource_prefetch_predictor_unittest.cc
diff --git a/chrome/browser/predictors/resource_prefetch_predictor_unittest.cc b/chrome/browser/predictors/resource_prefetch_predictor_unittest.cc
index 5b639e99980e78b64eca99b725b2e1714db650e9..b60ed63c0b9316710799f28add07d725323a8e52 100644
--- a/chrome/browser/predictors/resource_prefetch_predictor_unittest.cc
+++ b/chrome/browser/predictors/resource_prefetch_predictor_unittest.cc
@@ -98,7 +98,7 @@ class ResourcePrefetchPredictorTest : public testing::Test {
void InitializePredictor() {
predictor_->LazilyInitialize();
- loop_.RunAllPending(); // Runs the DB lookup.
+ loop_.RunUntilIdle(); // Runs the DB lookup.
profile_.BlockUntilHistoryProcessesPendingRequests();
}

Powered by Google App Engine
This is Rietveld 408576698