summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/download_item_controller.mm
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/cocoa/download_item_controller.mm')
-rw-r--r--chrome/browser/cocoa/download_item_controller.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/cocoa/download_item_controller.mm b/chrome/browser/cocoa/download_item_controller.mm
index 90cd7e7..35c3bea 100644
--- a/chrome/browser/cocoa/download_item_controller.mm
+++ b/chrome/browser/cocoa/download_item_controller.mm
@@ -140,7 +140,7 @@ class DownloadShelfContextMenuMac : public DownloadShelfContextMenu {
NSString* confirmButtonTitle;
// The dangerous download label and button text are different for an
// extension file.
- if (DownloadManager::IsExtensionInstall(downloadModel->download())) {
+ if (downloadModel->download()->is_extension_install()) {
dangerousWarning = l10n_util::GetNSStringWithFixup(
IDS_PROMPT_DANGEROUS_DOWNLOAD_EXTENSION);
confirmButtonTitle = l10n_util::GetNSStringWithFixup(