Index: content/browser/renderer_host/input/mouse_wheel_event_queue_unittest.cc |
diff --git a/content/browser/renderer_host/input/mouse_wheel_event_queue_unittest.cc b/content/browser/renderer_host/input/mouse_wheel_event_queue_unittest.cc |
index ace5eb4cb62cd01b19ee5d816fb2709124cb0bf2..319563c4afd0d5f5ba951c9f437210c0bc381e97 100644 |
--- a/content/browser/renderer_host/input/mouse_wheel_event_queue_unittest.cc |
+++ b/content/browser/renderer_host/input/mouse_wheel_event_queue_unittest.cc |
@@ -11,6 +11,7 @@ |
#include "base/location.h" |
#include "base/message_loop/message_loop.h" |
+#include "base/run_loop.h" |
#include "base/single_thread_task_runner.h" |
#include "base/threading/thread_task_runner_handle.h" |
#include "content/browser/renderer_host/input/timeout_monitor.h" |
@@ -264,7 +265,7 @@ class MouseWheelEventQueueTest : public testing::Test, |
static void RunTasksAndWait(base::TimeDelta delay) { |
base::ThreadTaskRunnerHandle::Get()->PostDelayedTask( |
FROM_HERE, base::MessageLoop::QuitWhenIdleClosure(), delay); |
- base::MessageLoop::current()->Run(); |
+ base::RunLoop().Run(); |
} |
void GestureSendingTest(bool high_precision) { |