Index: content/browser/renderer_host/input/input_router_impl_unittest.cc |
diff --git a/content/browser/renderer_host/input/input_router_impl_unittest.cc b/content/browser/renderer_host/input/input_router_impl_unittest.cc |
index 105b02e6a79e5c9827aa929809e527c681d2b591..a8acf939e106bfd4c9547778b080af680efbaef0 100644 |
--- a/content/browser/renderer_host/input/input_router_impl_unittest.cc |
+++ b/content/browser/renderer_host/input/input_router_impl_unittest.cc |
@@ -339,7 +339,7 @@ class InputRouterImplTest : 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(); |
} |
InputRouterImpl::Config config_; |