Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3987)

Unified Diff: chrome/browser/download/download_service.cc

Issue 966983002: downloads: clicking "remove" on chrome://downloads should also hide shelf item. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: probably more like this Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/download/download_service.cc
diff --git a/chrome/browser/download/download_service.cc b/chrome/browser/download/download_service.cc
index 5970de729e94f7babe02dba5416c4d8e22a5a982..7b83ae0e3ef9c8c0715bb07345ce87904e1d9e7d 100644
--- a/chrome/browser/download/download_service.cc
+++ b/chrome/browser/download/download_service.cc
@@ -68,8 +68,7 @@ ChromeDownloadManagerDelegate* DownloadService::GetDownloadManagerDelegate() {
// Pass an empty delegate when constructing the DownloadUIController. The
// default delegate does all the notifications we need.
- download_ui_.reset(new DownloadUIController(
- manager, scoped_ptr<DownloadUIController::Delegate>()));
+ download_ui_.reset(new DownloadUIController(manager));
// Include this download manager in the set monitored by the
// global status updater.
« no previous file with comments | « no previous file | chrome/browser/download/download_ui_controller.h » ('j') | chrome/browser/download/download_ui_controller.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698