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

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

Issue 12211049: Removing base::ThreadRestrictions::ScopedAllowIO from icon_manager_linux.cc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix presubmit. Created 7 years, 9 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_manager_win.cc ('k') | chrome/browser/ui/views/download/download_item_view.cc » ('j') | 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 5b3960001f27aa962a804708b8329a4c214ba009..a8c4872062051c58e25c84311d64fdd10f191636 100644
--- a/chrome/browser/ui/cocoa/download/download_item_mac.mm
+++ b/chrome/browser/ui/cocoa/download/download_item_mac.mm
@@ -83,7 +83,8 @@ void DownloadItemMac::LoadIcon() {
// We may already have this particular image cached.
base::FilePath file = download_model_.download()->GetUserVerifiedFilePath();
- gfx::Image* icon = icon_manager->LookupIcon(file, IconLoader::ALL);
+ gfx::Image* icon = icon_manager->LookupIconFromFilepath(
+ file, IconLoader::ALL);
if (icon) {
[item_controller_ setIcon:icon->ToNSImage()];
return;
« no previous file with comments | « chrome/browser/icon_manager_win.cc ('k') | chrome/browser/ui/views/download/download_item_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698