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

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

Issue 7044063: Merge 88406 - Mac: Fix icons in download dom UI (Closed) Base URL: svn://svn.chromium.org/chrome/branches/782/src/
Patch Set: 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
===================================================================
--- chrome/browser/ui/cocoa/download/download_item_mac.mm (revision 88409)
+++ chrome/browser/ui/cocoa/download/download_item_mac.mm (working copy)
@@ -79,14 +79,14 @@
// 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