22 lines
832 B
Plaintext
22 lines
832 B
Plaintext
$OpenBSD: patch-content_renderer_renderer_glue_cc,v 1.2 2011/08/16 08:17:44 robert Exp $
|
|
--- content/renderer/renderer_glue.cc.orig Tue Aug 2 20:39:21 2011
|
|
+++ content/renderer/renderer_glue.cc Tue Aug 2 20:39:37 2011
|
|
@@ -34,7 +34,7 @@
|
|
#include "webkit/glue/webkit_glue.h"
|
|
#include "webkit/glue/websocketstreamhandle_bridge.h"
|
|
|
|
-#if defined(OS_LINUX)
|
|
+#if defined(OS_LINUX) || defined(OS_OPENBSD)
|
|
#include "content/common/child_process_sandbox_support_linux.h"
|
|
#endif
|
|
|
|
@@ -255,7 +255,7 @@ void EnableSpdy(bool enable) {
|
|
RenderThread::current()->EnableSpdy(enable);
|
|
}
|
|
|
|
-#if defined(OS_LINUX)
|
|
+#if defined(OS_LINUX) || defined(OS_OPENBSD)
|
|
int MatchFontWithFallback(const std::string& face, bool bold,
|
|
bool italic, int charset) {
|
|
return child_process_sandbox_support::MatchFontWithFallback(
|