| 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 46f1d4eb64957875c077d05c03ed7ae80cfa661a..04e7e321b786197d02a2d9bab389cf5c8e0a2a07 100644
|
| --- a/chrome/browser/extensions/api/downloads/downloads_api.cc
|
| +++ b/chrome/browser/extensions/api/downloads/downloads_api.cc
|
| @@ -1519,8 +1519,8 @@ bool DownloadsGetFileIconFunction::RunAsync() {
|
| content::WebContents* web_contents =
|
| dispatcher()->delegate()->GetVisibleWebContents();
|
| if (web_contents) {
|
| - scale = ui::GetImageScale(ui::GetScaleFactorForNativeView(
|
| - web_contents->GetRenderWidgetHostView()->GetNativeView()));
|
| + scale = ui::GetScaleFactorForNativeView(
|
| + web_contents->GetRenderWidgetHostView()->GetNativeView());
|
| }
|
| EXTENSION_FUNCTION_VALIDATE(icon_extractor_->ExtractIconURLForPath(
|
| download_item->GetTargetFilePath(),
|
|
|