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

Unified Diff: chrome/browser/ui/webui/fileicon_source.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: Changes from review. 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
Index: chrome/browser/ui/webui/fileicon_source.cc
diff --git a/chrome/browser/ui/webui/fileicon_source.cc b/chrome/browser/ui/webui/fileicon_source.cc
index af8135a5b6ee661eb5298457b5fbb0ff373b5a6d..e9710b5e1cce9b4ef63dc2bfaf1ffdfe4227d1a4 100644
--- a/chrome/browser/ui/webui/fileicon_source.cc
+++ b/chrome/browser/ui/webui/fileicon_source.cc
@@ -106,7 +106,7 @@ void FileIconSource::FetchFileIcon(
IconLoader::IconSize icon_size,
const content::URLDataSource::GotDataCallback& callback) {
IconManager* im = g_browser_process->icon_manager();
- gfx::Image* icon = im->LookupIcon(path, icon_size);
+ gfx::Image* icon = im->LookupIconFromFilepath(path, icon_size);
if (icon) {
scoped_refptr<base::RefCountedBytes> icon_data(new base::RefCountedBytes);

Powered by Google App Engine
This is Rietveld 408576698