Index: content/browser/devtools/devtools_manager_unittest.cc |
diff --git a/content/browser/devtools/devtools_manager_unittest.cc b/content/browser/devtools/devtools_manager_unittest.cc |
index 0438b7aefd0b8d95c8842a7b39260dceccc881e6..6923a9379c76bad207772c00fac8b1c7979f8cc1 100644 |
--- a/content/browser/devtools/devtools_manager_unittest.cc |
+++ b/content/browser/devtools/devtools_manager_unittest.cc |
@@ -181,9 +181,11 @@ TEST_F(DevToolsManagerTest, NoUnresponsiveDialogInInspectedContents) { |
// Start with a short timeout. |
inspected_rvh->StartHangMonitorTimeout(TimeDelta::FromMilliseconds(10)); |
// Wait long enough for first timeout and see if it fired. |
- MessageLoop::current()->PostDelayedTask( |
- FROM_HERE, MessageLoop::QuitClosure(), TimeDelta::FromMilliseconds(10)); |
- MessageLoop::current()->Run(); |
+ base::MessageLoop::current()->PostDelayedTask( |
+ FROM_HERE, |
+ base::MessageLoop::QuitClosure(), |
+ TimeDelta::FromMilliseconds(10)); |
+ base::MessageLoop::current()->Run(); |
EXPECT_FALSE(delegate.renderer_unresponsive_received()); |
// Now close devtools and check that the notification is delivered. |
@@ -191,9 +193,11 @@ TEST_F(DevToolsManagerTest, NoUnresponsiveDialogInInspectedContents) { |
// Start with a short timeout. |
inspected_rvh->StartHangMonitorTimeout(TimeDelta::FromMilliseconds(10)); |
// Wait long enough for first timeout and see if it fired. |
- MessageLoop::current()->PostDelayedTask( |
- FROM_HERE, MessageLoop::QuitClosure(), TimeDelta::FromMilliseconds(10)); |
- MessageLoop::current()->Run(); |
+ base::MessageLoop::current()->PostDelayedTask( |
+ FROM_HERE, |
+ base::MessageLoop::QuitClosure(), |
+ TimeDelta::FromMilliseconds(10)); |
+ base::MessageLoop::current()->Run(); |
EXPECT_TRUE(delegate.renderer_unresponsive_received()); |
contents()->SetDelegate(NULL); |