From 0a0ac0e047c052af50489e35f4bb7f7183561f3b Mon Sep 17 00:00:00 2001 From: "aa@chromium.org" Date: Tue, 19 Jan 2010 00:28:07 +0000 Subject: Fix a case where we could theoretically install an extension without prompt. TBR=erikkay@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36501 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/views/extensions/extension_install_prompt.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chrome') diff --git a/chrome/browser/views/extensions/extension_install_prompt.cc b/chrome/browser/views/extensions/extension_install_prompt.cc index f2f9a38..80618ee 100644 --- a/chrome/browser/views/extensions/extension_install_prompt.cc +++ b/chrome/browser/views/extensions/extension_install_prompt.cc @@ -160,7 +160,7 @@ void ExtensionInstallUI::ShowExtensionInstallUIPromptImpl( const string16& warning_text, bool is_uninstall) { Browser* browser = BrowserList::GetLastActiveWithProfile(profile); if (!browser) { - delegate->InstallUIProceed(); + delegate->InstallUIAbort(); return; } -- cgit v1.1