summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/cocoa/external_protocol_dialog.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/cocoa/external_protocol_dialog.mm b/chrome/browser/cocoa/external_protocol_dialog.mm
index 444cd2c..cd79779 100644
--- a/chrome/browser/cocoa/external_protocol_dialog.mm
+++ b/chrome/browser/cocoa/external_protocol_dialog.mm
@@ -106,11 +106,11 @@ void ExternalProtocolHandler::RunExternalProtocolDialog(
NOTREACHED();
}
- // Set the "don't warn me again" info if the protocol was blocked ("cancel"
+ // Set the "don't warn me again" info if the protocol was allowed ("cancel"
// always means "make this dialog go away with no permanent effect" no matter
// what).
if ([[alert_ suppressionButton] state] == NSOnState &&
- blockState == ExternalProtocolHandler::BLOCK) {
+ blockState == ExternalProtocolHandler::DONT_BLOCK) {
ExternalProtocolHandler::SetBlockState(UTF8ToWide(url_.scheme()),
blockState);
}