$OpenBSD: patch-chrome_browser_custom_handlers_protocol_handler_registry_cc,v 1.5 2016/12/10 15:35:25 robert Exp $
--- chrome/browser/custom_handlers/protocol_handler_registry.cc.orig.port	Fri Dec  2 00:02:07 2016
+++ chrome/browser/custom_handlers/protocol_handler_registry.cc	Fri Dec  2 17:44:52 2016
@@ -47,7 +47,7 @@ const ProtocolHandler& LookupHandler(
 // If true default protocol handlers will be removed if the OS level
 // registration for a protocol is no longer Chrome.
 bool ShouldRemoveHandlersNotInOS() {
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
   // We don't do this on Linux as the OS registration there is not reliable,
   // and Chrome OS doesn't have any notion of OS registration.
   // TODO(benwells): When Linux support is more reliable remove this
