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

Unified Diff: chrome/browser/predictors/resource_prefetch_predictor_tables_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_tables_unittest.cc
diff --git a/chrome/browser/predictors/resource_prefetch_predictor_tables_unittest.cc b/chrome/browser/predictors/resource_prefetch_predictor_tables_unittest.cc
index 62796f6168974afc75dccba54fd4ac236baf3d8e..8c8785a58940dbdb29075cd77dce6f6d0b2b84cf 100644
--- a/chrome/browser/predictors/resource_prefetch_predictor_tables_unittest.cc
+++ b/chrome/browser/predictors/resource_prefetch_predictor_tables_unittest.cc
@@ -62,7 +62,7 @@ class ResourcePrefetchPredictorTablesReopenTest
ResourcePrefetchPredictorTablesTest::SetUp();
tables_ = NULL;
db_.reset(new PredictorDatabase(&profile_));
- loop_.RunAllPending();
+ loop_.RunUntilIdle();
tables_ = db_->resource_prefetch_tables();
}
};
@@ -72,7 +72,7 @@ ResourcePrefetchPredictorTablesTest::ResourcePrefetchPredictorTablesTest()
db_thread_(content::BrowserThread::DB, &loop_),
db_(new PredictorDatabase(&profile_)),
tables_(db_->resource_prefetch_tables()) {
- loop_.RunAllPending();
+ loop_.RunUntilIdle();
}
ResourcePrefetchPredictorTablesTest::~ResourcePrefetchPredictorTablesTest() {

Powered by Google App Engine
This is Rietveld 408576698