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

Unified Diff: components/sync/driver/non_ui_model_type_controller_unittest.cc

Issue 2211473003: Remove calls to deprecated MessageLoop methods on Windows and Linux. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 4 months 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: components/sync/driver/non_ui_model_type_controller_unittest.cc
diff --git a/components/sync/driver/non_ui_model_type_controller_unittest.cc b/components/sync/driver/non_ui_model_type_controller_unittest.cc
index bd5c75688285a09b44ab6c921b92c08da97072c3..43fe90836748e9ba234632eb30b635f62147cdc9 100644
--- a/components/sync/driver/non_ui_model_type_controller_unittest.cc
+++ b/components/sync/driver/non_ui_model_type_controller_unittest.cc
@@ -280,7 +280,7 @@ class NonUIModelTypeControllerTest : public testing::Test,
}
// Runs any tasks posted on UI thread.
- void RunQueuedUIThreadTasks() { ui_loop_.RunUntilIdle(); }
+ void RunQueuedUIThreadTasks() { base::RunLoop().RunUntilIdle(); }
// Runs any tasks posted on model thread.
void RunQueuedModelThreadTasks() {

Powered by Google App Engine
This is Rietveld 408576698