diff options
Diffstat (limited to 'chrome/browser/extensions/extension_context_menu_model.cc')
-rw-r--r-- | chrome/browser/extensions/extension_context_menu_model.cc | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/chrome/browser/extensions/extension_context_menu_model.cc b/chrome/browser/extensions/extension_context_menu_model.cc index 2c3be7d..0a0438f 100644 --- a/chrome/browser/extensions/extension_context_menu_model.cc +++ b/chrome/browser/extensions/extension_context_menu_model.cc @@ -109,12 +109,8 @@ void ExtensionContextMenuModel::ExecuteCommand(int command_id) { break; } case UNINSTALL: { - scoped_ptr<SkBitmap> uninstall_icon; - Extension::DecodeIcon(extension_, Extension::EXTENSION_ICON_LARGE, - &uninstall_icon); - - ExtensionInstallUI client(profile_); - client.ConfirmUninstall(this, extension_, uninstall_icon.get()); + install_ui_.reset(new ExtensionInstallUI(profile_)); + install_ui_->ConfirmUninstall(this, extension_); break; } case MANAGE: { |