diff options
Diffstat (limited to 'devel/electron7/files/patch-chrome_browser_custom__handlers_protocol__handler__registry.cc')
-rw-r--r-- | devel/electron7/files/patch-chrome_browser_custom__handlers_protocol__handler__registry.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron7/files/patch-chrome_browser_custom__handlers_protocol__handler__registry.cc b/devel/electron7/files/patch-chrome_browser_custom__handlers_protocol__handler__registry.cc new file mode 100644 index 000000000000..17f85cd60c49 --- /dev/null +++ b/devel/electron7/files/patch-chrome_browser_custom__handlers_protocol__handler__registry.cc @@ -0,0 +1,11 @@ +--- chrome/browser/custom_handlers/protocol_handler_registry.cc.orig 2019-12-12 12:39:10 UTC ++++ chrome/browser/custom_handlers/protocol_handler_registry.cc +@@ -43,7 +43,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 |