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

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

Issue 6995068: Mac: Fix icons in download dom UI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix linux build Created 9 years, 6 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
« no previous file with comments | « chrome/browser/icon_loader_mac.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/download/download_item_mac.mm
diff --git a/chrome/browser/ui/cocoa/download/download_item_mac.mm b/chrome/browser/ui/cocoa/download/download_item_mac.mm
index 0297ab4a57adee5e5822353143b124dc09de58af..9b47e8d14f755663dc63aa1d6070a87be5c9a6f8 100644
--- a/chrome/browser/ui/cocoa/download/download_item_mac.mm
+++ b/chrome/browser/ui/cocoa/download/download_item_mac.mm
@@ -79,14 +79,14 @@ void DownloadItemMac::LoadIcon() {
// We may already have this particular image cached.
FilePath file = download_model_->download()->GetUserVerifiedFilePath();
- gfx::Image* icon = icon_manager->LookupIcon(file, IconLoader::SMALL);
+ gfx::Image* icon = icon_manager->LookupIcon(file, IconLoader::ALL);
if (icon) {
[item_controller_ setIcon:*icon];
return;
}
// The icon isn't cached, load it asynchronously.
- icon_manager->LoadIcon(file, IconLoader::SMALL, &icon_consumer_,
+ icon_manager->LoadIcon(file, IconLoader::ALL, &icon_consumer_,
NewCallback(this,
&DownloadItemMac::OnExtractIconComplete));
}
« no previous file with comments | « chrome/browser/icon_loader_mac.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698