Index: chrome/browser/ui/panels/panel_browsertest.cc |
diff --git a/chrome/browser/ui/panels/panel_browsertest.cc b/chrome/browser/ui/panels/panel_browsertest.cc |
index e11d609bf8df58d3d40ffeec20db5f4724380825..13c93b48e7df6573f2b01e22d833c9821ba555f0 100644 |
--- a/chrome/browser/ui/panels/panel_browsertest.cc |
+++ b/chrome/browser/ui/panels/panel_browsertest.cc |
@@ -276,7 +276,7 @@ IN_PROC_BROWSER_TEST_F(PanelBrowserTest, CheckDockedPanelProperties) { |
// Ensure that the layout message can get a chance to be processed so that |
// the button visibility can be updated. |
- MessageLoop::current()->RunUntilIdle(); |
+ base::MessageLoop::current()->RunUntilIdle(); |
EXPECT_EQ(3, panel_manager->num_panels()); |
EXPECT_TRUE(docked_collection->HasPanel(panel1)); |
@@ -914,7 +914,7 @@ IN_PROC_BROWSER_TEST_F(PanelBrowserTest, ChangeAutoHideTaskBarThickness) { |
mock_display_settings_provider()->SetDesktopBarThickness( |
DisplaySettingsProvider::DESKTOP_BAR_ALIGNED_RIGHT, |
right_bar_thickness); |
- MessageLoopForUI::current()->RunUntilIdle(); |
+ base::MessageLoopForUI::current()->RunUntilIdle(); |
EXPECT_EQ(initial_starting_right_position, |
docked_collection->StartingRightPosition()); |
EXPECT_EQ(docked_collection->work_area().bottom() - bottom_bar_thickness, |
@@ -933,7 +933,7 @@ IN_PROC_BROWSER_TEST_F(PanelBrowserTest, ChangeAutoHideTaskBarThickness) { |
mock_display_settings_provider()->SetDesktopBarThickness( |
DisplaySettingsProvider::DESKTOP_BAR_ALIGNED_RIGHT, |
right_bar_thickness); |
- MessageLoopForUI::current()->RunUntilIdle(); |
+ base::MessageLoopForUI::current()->RunUntilIdle(); |
EXPECT_EQ(docked_collection->StartingRightPosition(), |
initial_starting_right_position); |
EXPECT_EQ(docked_collection->work_area().bottom() - bottom_bar_thickness, |
@@ -1421,12 +1421,12 @@ IN_PROC_BROWSER_TEST_F(PanelBrowserTest, |
WaitForPanelActiveState(panel1, SHOW_AS_ACTIVE); |
panel1->SetExpansionState(Panel::MINIMIZED); |
- MessageLoop::current()->RunUntilIdle(); |
+ base::MessageLoop::current()->RunUntilIdle(); |
WaitForPanelActiveState(panel1, SHOW_AS_INACTIVE); |
EXPECT_EQ(Panel::MINIMIZED, panel1->expansion_state()); |
panel2->SetExpansionState(Panel::MINIMIZED); |
- MessageLoop::current()->RunUntilIdle(); |
+ base::MessageLoop::current()->RunUntilIdle(); |
WaitForPanelActiveState(panel2, SHOW_AS_INACTIVE); |
EXPECT_EQ(Panel::MINIMIZED, panel2->expansion_state()); |