Index: chrome/browser/download/download_service.cc |
diff --git a/chrome/browser/download/download_service.cc b/chrome/browser/download/download_service.cc |
index dc209e89ad5e0b2c28f924b720048a3254b54ae4..e4b2961fe804801eaa1d7d7dfea97149713ec5f2 100644 |
--- a/chrome/browser/download/download_service.cc |
+++ b/chrome/browser/download/download_service.cc |
@@ -65,9 +65,8 @@ ChromeDownloadManagerDelegate* DownloadService::GetDownloadManagerDelegate() { |
// Pass an empty delegate when constructing the DownloadUIController. The |
// default delegate does all the notifications we need. |
- scoped_ptr<DownloadUIController::Delegate> empty_ui_delegate; |
- download_ui_.reset(new DownloadUIController(manager, |
- empty_ui_delegate.Pass())); |
+ download_ui_.reset(new DownloadUIController( |
+ manager, scoped_ptr<DownloadUIController::Delegate>())); |
// Include this download manager in the set monitored by the |
// global status updater. |