Chromium Code Reviews

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.
Jump to:
View side-by-side diff with in-line comments
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