22 lines
865 B
Plaintext
22 lines
865 B
Plaintext
|
$OpenBSD: patch-chrome_renderer_renderer_glue_cc,v 1.1 2011/02/08 09:43:02 espie Exp $
|
||
|
--- chrome/renderer/renderer_glue.cc.orig Fri Jan 21 10:20:27 2011
|
||
|
+++ chrome/renderer/renderer_glue.cc Sun Jan 23 23:27:33 2011
|
||
|
@@ -38,7 +38,7 @@
|
||
|
|
||
|
#if defined(OS_WIN)
|
||
|
#include <strsafe.h> // note: per msdn docs, this must *follow* other includes
|
||
|
-#elif defined(OS_LINUX)
|
||
|
+#elif defined(OS_LINUX) || defined(OS_OPENBSD)
|
||
|
#include "chrome/renderer/renderer_sandbox_support_linux.h"
|
||
|
#endif
|
||
|
|
||
|
@@ -274,7 +274,7 @@ void UserMetricsRecordAction(const std::string& action
|
||
|
new ViewHostMsg_UserMetricsRecordAction(action));
|
||
|
}
|
||
|
|
||
|
-#if defined(OS_LINUX)
|
||
|
+#if defined(OS_LINUX) || defined(OS_OPENBSD)
|
||
|
int MatchFontWithFallback(const std::string& face, bool bold,
|
||
|
bool italic, int charset) {
|
||
|
return renderer_sandbox_support::MatchFontWithFallback(
|