$OpenBSD: patch-content_renderer_renderer_main_platform_delegate_linux_cc,v 1.12 2016/01/06 21:46:44 robert Exp $
--- content/renderer/renderer_main_platform_delegate_linux.cc.orig.port	Fri Nov 13 12:04:18 2015
+++ content/renderer/renderer_main_platform_delegate_linux.cc	Sun Jan  3 18:46:20 2016
@@ -10,7 +10,11 @@
 #include "base/command_line.h"
 #include "base/files/file_util.h"
 #include "base/logging.h"
+#if defined(OS_OPENBSD)
+#include "content/common/sandbox_init_openbsd.h"
+#else
 #include "content/common/sandbox_linux/sandbox_linux.h"
+#endif
 #include "content/public/common/content_switches.h"
 #include "content/public/common/sandbox_init.h"
 
@@ -35,6 +39,9 @@ bool RendererMainPlatformDelegate::EnableSandbox() {
   // http://code.google.com/p/chromium/wiki/LinuxSUIDSandbox
   //
   // Anything else is started in InitializeSandbox().
+#if defined(OS_BSD)
+  InitializeSandbox();
+#else
   LinuxSandbox::InitializeSandbox();
   // about:sandbox uses a value returned from LinuxSandbox::GetStatus() before
   // any renderer has been started.
@@ -61,6 +68,7 @@ bool RendererMainPlatformDelegate::EnableSandbox() {
     CHECK_EQ(errno, EPERM);
   }
 #endif  // __x86_64__
+#endif
 
   return true;
 }
