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

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: CR 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 0db3f988cd5fed43b4149aa2fd1c6402d16c73d2..ed1db555a583513e3320adaaa15636055fb00ae3 100644
--- a/components/sync_driver/non_ui_model_type_controller_unittest.cc
+++ b/components/sync_driver/non_ui_model_type_controller_unittest.cc
@@ -282,7 +282,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