Index: chrome/browser/extensions/api/downloads/downloads_api.cc |
diff --git a/chrome/browser/extensions/api/downloads/downloads_api.cc b/chrome/browser/extensions/api/downloads/downloads_api.cc |
index bcf7eba130b2188fc6d445e5c875655fa834381d..ddb830307fa11e01cd0a851b49237f5e161ed8db 100644 |
--- a/chrome/browser/extensions/api/downloads/downloads_api.cc |
+++ b/chrome/browser/extensions/api/downloads/downloads_api.cc |
@@ -681,7 +681,7 @@ class ExtensionDownloadsEventRouterData : public base::SupportsUserData::Data { |
// determiners_ doesn't keep hogging memory. |
weak_ptr_factory_.reset( |
new base::WeakPtrFactory<ExtensionDownloadsEventRouterData>(this)); |
- MessageLoopForUI::current()->PostDelayedTask( |
+ base::MessageLoopForUI::current()->PostDelayedTask( |
FROM_HERE, |
base::Bind(&ExtensionDownloadsEventRouterData::ClearPendingDeterminers, |
weak_ptr_factory_->GetWeakPtr()), |
@@ -1138,7 +1138,8 @@ bool DownloadsDragFunction::RunImpl() { |
gfx::NativeView view = web_contents->GetView()->GetNativeView(); |
{ |
// Enable nested tasks during DnD, while |DragDownload()| blocks. |
- MessageLoop::ScopedNestableTaskAllower allow(MessageLoop::current()); |
+ base::MessageLoop::ScopedNestableTaskAllower allow( |
+ base::MessageLoop::current()); |
download_util::DragDownload(download_item, icon, view); |
} |
return true; |