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() { |