| Index: chrome/browser/ui/gtk/tabs/tab_gtk.cc
|
| diff --git a/chrome/browser/ui/gtk/tabs/tab_gtk.cc b/chrome/browser/ui/gtk/tabs/tab_gtk.cc
|
| index c145ff28d0ab9dadad07607d7ab304331a0b47d4..94eae7caf08f1f30525951c717f69ee42a959ed7 100644
|
| --- a/chrome/browser/ui/gtk/tabs/tab_gtk.cc
|
| +++ b/chrome/browser/ui/gtk/tabs/tab_gtk.cc
|
| @@ -42,11 +42,11 @@ class TabGtk::TabGtkObserverHelper {
|
| public:
|
| explicit TabGtkObserverHelper(TabGtk* tab)
|
| : tab_(tab) {
|
| - MessageLoopForUI::current()->AddObserver(tab_);
|
| + base::MessageLoopForUI::current()->AddObserver(tab_);
|
| }
|
|
|
| ~TabGtkObserverHelper() {
|
| - MessageLoopForUI::current()->RemoveObserver(tab_);
|
| + base::MessageLoopForUI::current()->RemoveObserver(tab_);
|
| }
|
|
|
| private:
|
| @@ -197,7 +197,7 @@ gboolean TabGtk::OnDragButtonReleased(GtkWidget* widget,
|
| // get a follow up event to tell us the drag has finished (either a
|
| // drag-failed or a drag-end). So we post a task to manually end the drag.
|
| // If GTK+ does send the drag-failed or drag-end event, we cancel the task.
|
| - MessageLoop::current()->PostTask(
|
| + base::MessageLoop::current()->PostTask(
|
| FROM_HERE,
|
| base::Bind(&TabGtk::EndDrag, drag_end_factory_.GetWeakPtr(), false));
|
| return TRUE;
|
| @@ -349,7 +349,7 @@ void TabGtk::EndDrag(bool canceled) {
|
| // We must let gtk clean up after we handle the drag operation, otherwise
|
| // there will be outstanding references to the drag widget when we try to
|
| // destroy it.
|
| - MessageLoop::current()->PostTask(
|
| + base::MessageLoop::current()->PostTask(
|
| FROM_HERE,
|
| base::Bind(&TabGtk::DestroyDragWidget, destroy_factory_.GetWeakPtr()));
|
|
|
|
|