Index: chrome/browser/ui/views/download/download_item_view.cc |
diff --git a/chrome/browser/ui/views/download/download_item_view.cc b/chrome/browser/ui/views/download/download_item_view.cc |
index 5e5f1b787ee62f2d9bb6e68451e6985a0198c480..3df4f1576ed97c051f56181f96f3fc8802566e94 100644 |
--- a/chrome/browser/ui/views/download/download_item_view.cc |
+++ b/chrome/browser/ui/views/download/download_item_view.cc |
@@ -315,10 +315,9 @@ void DownloadItemView::OnDownloadDestroyed(DownloadItem* download) { |
void DownloadItemView::OnDownloadOpened(DownloadItem* download) { |
disabled_while_opening_ = true; |
SetEnabled(false); |
- MessageLoop::current()->PostDelayedTask( |
+ base::MessageLoop::current()->PostDelayedTask( |
FROM_HERE, |
- base::Bind(&DownloadItemView::Reenable, |
- weak_ptr_factory_.GetWeakPtr()), |
+ base::Bind(&DownloadItemView::Reenable, weak_ptr_factory_.GetWeakPtr()), |
base::TimeDelta::FromMilliseconds(kDisabledOnOpenDuration)); |
// Notify our parent. |
@@ -894,7 +893,7 @@ void DownloadItemView::ShowContextMenuImpl(const gfx::Point& p, |
// Post a task to release the button. When we call the Run method on the menu |
// below, it runs an inner message loop that might cause us to be deleted. |
// Posting a task with a WeakPtr lets us safely handle the button release. |
- MessageLoop::current()->PostNonNestableTask( |
+ base::MessageLoop::current()->PostNonNestableTask( |
FROM_HERE, |
base::Bind(&DownloadItemView::ReleaseDropDown, |
weak_ptr_factory_.GetWeakPtr())); |