From b45c207c9449325def739c6e1e07f18c4f332ddb Mon Sep 17 00:00:00 2001 From: "aa@chromium.org" Date: Tue, 19 Jan 2010 00:50:49 +0000 Subject: Fix one more case where we could theoretically intall an extension without a prompt. See also r36501. TBR=erikkay@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36503 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/gtk/extension_install_prompt_gtk.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chrome') diff --git a/chrome/browser/gtk/extension_install_prompt_gtk.cc b/chrome/browser/gtk/extension_install_prompt_gtk.cc index e48ac0b..9e81375 100644 --- a/chrome/browser/gtk/extension_install_prompt_gtk.cc +++ b/chrome/browser/gtk/extension_install_prompt_gtk.cc @@ -114,7 +114,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