22 lines
874 B
Plaintext
22 lines
874 B
Plaintext
$OpenBSD: patch-content_renderer_renderer_main_cc,v 1.1 2011/06/08 20:36:56 robert Exp $
|
|
--- content/renderer/renderer_main.cc.orig Wed Jun 8 12:10:51 2011
|
|
+++ content/renderer/renderer_main.cc Wed Jun 8 12:11:06 2011
|
|
@@ -205,7 +205,7 @@ int RendererMain(const MainFunctionParams& parameters)
|
|
PepperPluginRegistry::GetInstance();
|
|
|
|
{
|
|
-#if !defined(OS_LINUX)
|
|
+#if !defined(OS_LINUX) && !defined(OS_OPENBSD)
|
|
// TODO(markus): Check if it is OK to unconditionally move this
|
|
// instruction down.
|
|
RenderProcessImpl render_process;
|
|
@@ -217,7 +217,7 @@ int RendererMain(const MainFunctionParams& parameters)
|
|
} else {
|
|
LOG(ERROR) << "Running without renderer sandbox";
|
|
}
|
|
-#if defined(OS_LINUX)
|
|
+#if defined(OS_LINUX) || defined(OS_OPENBSD)
|
|
RenderProcessImpl render_process;
|
|
render_process.set_main_thread(new RenderThread());
|
|
#endif
|