Index: chrome/browser/custom_handlers/protocol_handler_registry.cc |
diff --git a/chrome/browser/custom_handlers/protocol_handler_registry.cc b/chrome/browser/custom_handlers/protocol_handler_registry.cc |
index 0300e6d7fa894d6c0af8c6466a690f7a6e6c083d..f8ad23b29164e8f5ef7dc289b486980ba07ababe 100644 |
--- a/chrome/browser/custom_handlers/protocol_handler_registry.cc |
+++ b/chrome/browser/custom_handlers/protocol_handler_registry.cc |
@@ -39,7 +39,8 @@ bool ShouldRemoveHandlersNotInOS() { |
// difference (http://crbug.com/88255). |
return false; |
#else |
- return ShellIntegration::CanSetAsDefaultProtocolClient(); |
+ return ShellIntegration::CanSetAsDefaultProtocolClient() != |
+ ShellIntegration::CHANGE_DEFAULT_NOT_ALLOWED; |
#endif |
} |