$OpenBSD: patch-third_party_WebKit_Source_core_editing_EditingBehavior_cpp,v 1.2 2017/12/04 13:55:42 robert Exp $

Index: third_party/WebKit/Source/core/editing/EditingBehavior.cpp
--- third_party/WebKit/Source/core/editing/EditingBehavior.cpp.orig
+++ third_party/WebKit/Source/core/editing/EditingBehavior.cpp
@@ -270,7 +270,7 @@ bool EditingBehavior::ShouldInsertCharacter(const Keyb
   // unexpected behaviour
   if (ch < ' ')
     return false;
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
   // According to XKB map no keyboard combinations with ctrl key are mapped to
   // printable characters, however we need the filter as the DomKey/text could
   // contain printable characters.
