summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-19 00:28:07 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-19 00:28:07 +0000
commit0a0ac0e047c052af50489e35f4bb7f7183561f3b (patch)
tree3536a1c365164f5cf3a866098fc8047f5fd5fafb /chrome
parent82d3328cdd0d612f3328b40a368900c3f80d1a4d (diff)
downloadchromium_src-0a0ac0e047c052af50489e35f4bb7f7183561f3b.zip
chromium_src-0a0ac0e047c052af50489e35f4bb7f7183561f3b.tar.gz
chromium_src-0a0ac0e047c052af50489e35f4bb7f7183561f3b.tar.bz2
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
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/views/extensions/extension_install_prompt.cc2
1 files changed, 1 insertions, 1 deletions
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;
}