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

Unified Diff: chrome/browser/extensions/api/downloads/downloads_api.cc

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 | « no previous file | chrome/browser/icon_loader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/downloads/downloads_api.cc
diff --git a/chrome/browser/extensions/api/downloads/downloads_api.cc b/chrome/browser/extensions/api/downloads/downloads_api.cc
index 4862cf7a398415f1edffaa94357e114fc6c1c514..44e7f29be72b61b35cb723ebf7b3a90f909c5261 100644
--- a/chrome/browser/extensions/api/downloads/downloads_api.cc
+++ b/chrome/browser/extensions/api/downloads/downloads_api.cc
@@ -1118,7 +1118,7 @@ bool DownloadsDragFunction::RunImpl() {
return false;
}
RecordApiFunctions(DOWNLOADS_FUNCTION_DRAG);
- gfx::Image* icon = g_browser_process->icon_manager()->LookupIcon(
+ gfx::Image* icon = g_browser_process->icon_manager()->LookupIconFromFilepath(
download_item->GetUserVerifiedFilePath(), IconLoader::NORMAL);
gfx::NativeView view = web_contents->GetView()->GetNativeView();
{
« no previous file with comments | « no previous file | chrome/browser/icon_loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698