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

Unified Diff: components/exo/gamepad_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 | « no previous file | components/storage_monitor/storage_monitor_chromeos_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/gamepad_unittest.cc
diff --git a/components/exo/gamepad_unittest.cc b/components/exo/gamepad_unittest.cc
index 98d3e0245c5cbe4f45dcf869f5a0ff287f4eb471..34a7e165bd818587e15d054ae9ff1a129252887f 100644
--- a/components/exo/gamepad_unittest.cc
+++ b/components/exo/gamepad_unittest.cc
@@ -4,6 +4,7 @@
#include "ash/shell.h"
#include "base/command_line.h"
+#include "base/run_loop.h"
#include "base/test/test_simple_task_runner.h"
#include "components/exo/buffer.h"
#include "components/exo/gamepad.h"
@@ -69,7 +70,7 @@ class GamepadTest : public test::ExoTestBase {
// Run one polling cycle, which will post a task to the origin task runner.
polling_task_runner_->RunPendingTasks();
// Run origin task runner to invoke delegate.
- base::MessageLoop::current()->RunUntilIdle();
+ base::RunLoop().RunUntilIdle();
}
protected:
« no previous file with comments | « no previous file | components/storage_monitor/storage_monitor_chromeos_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698