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