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

Unified Diff: components/data_usage/core/data_use_aggregator_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/data_usage/core/data_use_aggregator_unittest.cc
diff --git a/components/data_usage/core/data_use_aggregator_unittest.cc b/components/data_usage/core/data_use_aggregator_unittest.cc
index e3d121f2bc4fc8816328fdc2688681524ea6afae..9559e69698abda2b02229872d58763247da2dd7b 100644
--- a/components/data_usage/core/data_use_aggregator_unittest.cc
+++ b/components/data_usage/core/data_use_aggregator_unittest.cc
@@ -289,7 +289,7 @@ class DataUseAggregatorTest : public testing::Test {
reporting_network_delegate_->set_data_use_context_map(data_use_context_map);
request->Start();
- loop_.RunUntilIdle();
+ base::RunLoop().RunUntilIdle();
return request;
}

Powered by Google App Engine
This is Rietveld 408576698