diff options
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/external_protocol_handler.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/external_protocol_handler.cc b/chrome/browser/external_protocol_handler.cc index 7a960c9..8e041be 100644 --- a/chrome/browser/external_protocol_handler.cc +++ b/chrome/browser/external_protocol_handler.cc @@ -142,9 +142,10 @@ void ExternalProtocolHandler::LaunchUrl(const GURL& url, if (block_state == BLOCK) return; + g_accept_requests = false; + if (block_state == UNKNOWN) { #if defined(OS_WIN) || defined(TOOLKIT_GTK) || defined(OS_MACOSX) - g_accept_requests = false; // Ask the user if they want to allow the protocol. This will call // LaunchUrlWithoutSecurityCheck if the user decides to accept the protocol. RunExternalProtocolDialog(escaped_url, |