| Index: chrome/browser/ui/gtk/panels/panel_gtk.cc
|
| diff --git a/chrome/browser/ui/gtk/panels/panel_gtk.cc b/chrome/browser/ui/gtk/panels/panel_gtk.cc
|
| index 19a597cbac4c5585912c6dd3431bf127320afa6c..2a03450e12f6610c71fd84ed9d7baf0d96aaec36 100644
|
| --- a/chrome/browser/ui/gtk/panels/panel_gtk.cc
|
| +++ b/chrome/browser/ui/gtk/panels/panel_gtk.cc
|
| @@ -717,7 +717,7 @@ void PanelGtk::OnMainWindowDestroy(GtkWidget* widget) {
|
| //
|
| // We don't want to use DeleteSoon() here since it won't work on a nested pump
|
| // (like in UI tests).
|
| - MessageLoop::current()->PostTask(
|
| + base::MessageLoop::current()->PostTask(
|
| FROM_HERE, base::Bind(&base::DeletePointer<PanelGtk>, this));
|
| }
|
|
|
| @@ -1061,7 +1061,7 @@ void GtkNativePanelTesting::PressLeftMouseButtonTitlebar(
|
| panel_gtk_->OnTitlebarButtonPressEvent(
|
| NULL, reinterpret_cast<GdkEventButton*>(event));
|
| gdk_event_free(event);
|
| - MessageLoopForUI::current()->RunUntilIdle();
|
| + base::MessageLoopForUI::current()->RunUntilIdle();
|
| }
|
|
|
| void GtkNativePanelTesting::ReleaseMouseButtonTitlebar(
|
| @@ -1078,7 +1078,7 @@ void GtkNativePanelTesting::ReleaseMouseButtonTitlebar(
|
| NULL, reinterpret_cast<GdkEventButton*>(event));
|
| }
|
| gdk_event_free(event);
|
| - MessageLoopForUI::current()->RunUntilIdle();
|
| + base::MessageLoopForUI::current()->RunUntilIdle();
|
| }
|
|
|
| void GtkNativePanelTesting::DragTitlebar(const gfx::Point& mouse_location) {
|
| @@ -1090,14 +1090,14 @@ void GtkNativePanelTesting::DragTitlebar(const gfx::Point& mouse_location) {
|
| panel_gtk_->drag_helper_->OnMouseMoveEvent(
|
| NULL, reinterpret_cast<GdkEventMotion*>(event));
|
| gdk_event_free(event);
|
| - MessageLoopForUI::current()->RunUntilIdle();
|
| + base::MessageLoopForUI::current()->RunUntilIdle();
|
| }
|
|
|
| void GtkNativePanelTesting::CancelDragTitlebar() {
|
| if (!panel_gtk_->drag_helper_.get())
|
| return;
|
| panel_gtk_->drag_helper_->OnGrabBrokenEvent(NULL, NULL);
|
| - MessageLoopForUI::current()->RunUntilIdle();
|
| + base::MessageLoopForUI::current()->RunUntilIdle();
|
| }
|
|
|
| void GtkNativePanelTesting::FinishDragTitlebar() {
|
|
|