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

Unified Diff: chrome/browser/ui/cocoa/download/download_shelf_mac.mm

Issue 11673004: No need to pass DownloadItemModel ownership. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: DownloadShelfContextMenu class cleanup and require GetMenuModel() to return non-NULL Created 7 years, 11 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/ui/cocoa/download/download_shelf_mac.mm
diff --git a/chrome/browser/ui/cocoa/download/download_shelf_mac.mm b/chrome/browser/ui/cocoa/download/download_shelf_mac.mm
index fe4ed360e281fed879324bac1ab80891d748fde3..c644b51927b12346f08f61722b477d7ac36773ab 100644
--- a/chrome/browser/ui/cocoa/download/download_shelf_mac.mm
+++ b/chrome/browser/ui/cocoa/download/download_shelf_mac.mm
@@ -15,8 +15,8 @@ DownloadShelfMac::DownloadShelfMac(Browser* browser,
shelf_controller_(controller) {
}
-void DownloadShelfMac::DoAddDownload(DownloadItemModel* download_model) {
- [shelf_controller_ addDownloadItem:download_model];
+void DownloadShelfMac::DoAddDownload(content::DownloadItem* download) {
+ [shelf_controller_ addDownloadItem:download];
}
bool DownloadShelfMac::IsShowing() const {
« no previous file with comments | « chrome/browser/ui/cocoa/download/download_shelf_mac.h ('k') | chrome/browser/ui/gtk/download/download_item_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698