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

Unified Diff: components/storage_monitor/storage_monitor_chromeos_unittest.cc

Issue 2315833003: Remove calls to deprecated MessageLoop methods in components. (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « components/exo/gamepad_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/storage_monitor/storage_monitor_chromeos_unittest.cc
diff --git a/components/storage_monitor/storage_monitor_chromeos_unittest.cc b/components/storage_monitor/storage_monitor_chromeos_unittest.cc
index 415f4a18eefe4a7e94d337bdbad8f56cc20d222e..4a54205ee5d0b438a2c02b4be6cd58f6920ff115 100644
--- a/components/storage_monitor/storage_monitor_chromeos_unittest.cc
+++ b/components/storage_monitor/storage_monitor_chromeos_unittest.cc
@@ -257,7 +257,7 @@ void StorageMonitorCrosTest::PostQuitToUIThread() {
void StorageMonitorCrosTest::WaitForFileThread() {
BrowserThread::PostTask(BrowserThread::FILE, FROM_HERE,
base::Bind(&PostQuitToUIThread));
- base::MessageLoop::current()->Run();
+ base::RunLoop().Run();
}
void StorageMonitorCrosTest::EjectNotify(StorageMonitor::EjectStatus status) {
« no previous file with comments | « components/exo/gamepad_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698