ae6e8f236b
time right now. Tree is still locked! Reasons for the update: - good work that can be used now - only builds on i386/amd64, and they're fast - multiple security problems in old chrome - old chrome half working, can't break it more than it was. This one requires resources (see MESSAGE), but it's ways more stable. Again, discussed with sthen@, jasper@, naddy@, miod@
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(
|