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

Unified Diff: chrome/browser/predictors/autocomplete_action_predictor_table_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/autocomplete_action_predictor_table_unittest.cc
diff --git a/chrome/browser/predictors/autocomplete_action_predictor_table_unittest.cc b/chrome/browser/predictors/autocomplete_action_predictor_table_unittest.cc
index 479cfcd0127b7ce85ddbdbd4a57d866e0ef54691..ad0fa0078a1b6d288645c96e6df3a79f3ca9764a 100644
--- a/chrome/browser/predictors/autocomplete_action_predictor_table_unittest.cc
+++ b/chrome/browser/predictors/autocomplete_action_predictor_table_unittest.cc
@@ -80,7 +80,7 @@ AutocompleteActionPredictorTableTest::~AutocompleteActionPredictorTableTest() {
void AutocompleteActionPredictorTableTest::SetUp() {
db_.reset(new PredictorDatabase(&profile_));
- loop_.RunAllPending();
+ loop_.RunUntilIdle();
test_db_.push_back(AutocompleteActionPredictorTable::Row(
"BD85DBA2-8C29-49F9-84AE-48E1E90880DF",

Powered by Google App Engine
This is Rietveld 408576698