| Index: chrome/browser/ui/gtk/download/download_shelf_gtk.cc
|
| diff --git a/chrome/browser/ui/gtk/download/download_shelf_gtk.cc b/chrome/browser/ui/gtk/download/download_shelf_gtk.cc
|
| index 636b0e3fd1b1e74dc5017e4a1c762d19844096ce..d709c76d56e3aabda1435b233696fdd99a8ae1f3 100644
|
| --- a/chrome/browser/ui/gtk/download/download_shelf_gtk.cc
|
| +++ b/chrome/browser/ui/gtk/download/download_shelf_gtk.cc
|
| @@ -339,9 +339,9 @@ void DownloadShelfGtk::SetCloseOnMouseOut(bool close) {
|
| close_on_mouse_out_ = close;
|
| mouse_in_shelf_ = close;
|
| if (close)
|
| - MessageLoopForUI::current()->AddObserver(this);
|
| + base::MessageLoopForUI::current()->AddObserver(this);
|
| else
|
| - MessageLoopForUI::current()->RemoveObserver(this);
|
| + base::MessageLoopForUI::current()->RemoveObserver(this);
|
| }
|
|
|
| void DownloadShelfGtk::WillProcessEvent(GdkEvent* event) {
|
| @@ -394,10 +394,10 @@ bool DownloadShelfGtk::IsCursorInShelfZone(
|
| void DownloadShelfGtk::MouseLeftShelf() {
|
| DCHECK(close_on_mouse_out_);
|
|
|
| - MessageLoop::current()->PostDelayedTask(
|
| + base::MessageLoop::current()->PostDelayedTask(
|
| FROM_HERE,
|
| - base::Bind(&DownloadShelfGtk::Close, weak_factory_.GetWeakPtr(),
|
| - AUTOMATIC),
|
| + base::Bind(
|
| + &DownloadShelfGtk::Close, weak_factory_.GetWeakPtr(), AUTOMATIC),
|
| base::TimeDelta::FromMilliseconds(kAutoCloseDelayMs));
|
| }
|
|
|
|
|