Index: chrome/browser/ui/views/download/download_item_view.cc |
diff --git a/chrome/browser/ui/views/download/download_item_view.cc b/chrome/browser/ui/views/download/download_item_view.cc |
index 41950f846741132e227f6952c57d614636eb828e..8cd1a87337863ee1067d53e7a859eb371761299c 100644 |
--- a/chrome/browser/ui/views/download/download_item_view.cc |
+++ b/chrome/browser/ui/views/download/download_item_view.cc |
@@ -407,8 +407,8 @@ bool DownloadItemView::OnMouseDragged(const ui::MouseEvent& event) { |
if (dragging_) { |
if (download()->IsComplete()) { |
IconManager* im = g_browser_process->icon_manager(); |
- gfx::Image* icon = im->LookupIcon(download()->GetUserVerifiedFilePath(), |
- IconLoader::SMALL); |
+ gfx::Image* icon = im->LookupIconFromFilepath( |
+ download()->GetUserVerifiedFilePath(), IconLoader::SMALL); |
if (icon) { |
views::Widget* widget = GetWidget(); |
download_util::DragDownload(download(), icon, |
@@ -774,8 +774,8 @@ void DownloadItemView::OnPaint(gfx::Canvas* canvas) { |
// Load the icon. |
IconManager* im = g_browser_process->icon_manager(); |
- gfx::Image* image = im->LookupIcon(download()->GetUserVerifiedFilePath(), |
- IconLoader::SMALL); |
+ gfx::Image* image = im->LookupIconFromFilepath( |
+ download()->GetUserVerifiedFilePath(),IconLoader::SMALL); |
const gfx::ImageSkia* icon = NULL; |
if (IsShowingWarningDialog()) |
icon = warning_icon_; |