$OpenBSD: patch-third_party_WebKit_Source_WebKit_chromium_src_PlatformBridge_cpp,v 1.4 2011/06/08 20:36:56 robert Exp $
--- third_party/WebKit/Source/WebKit/chromium/src/PlatformBridge.cpp.orig	Mon Jun  6 11:15:23 2011
+++ third_party/WebKit/Source/WebKit/chromium/src/PlatformBridge.cpp	Wed Jun  8 09:58:37 2011
@@ -70,7 +70,7 @@
 #include "win/WebThemeEngine.h"
 #endif
 
-#if OS(LINUX) || OS(FREEBSD)
+#if OS(LINUX) || OS(FREEBSD) || OS(OPENBSD)
 #include "linux/WebThemeEngine.h"
 #include "WebFontInfo.h"
 #include "WebFontRenderStyle.h"
@@ -438,7 +438,7 @@ bool PlatformBridge::ensureFontLoaded(HFONT font)
 }
 #endif
 
-#if OS(LINUX) || OS(FREEBSD)
+#if OS(LINUX) || OS(FREEBSD) || OS(OPENBSD)
 String PlatformBridge::getFontFamilyForCharacters(const UChar* characters, size_t numCharacters, const char* preferredLocale)
 {
     if (webKitClient()->sandboxSupport())
@@ -779,7 +779,7 @@ void PlatformBridge::paintProgressBar(
         gc->platformContext()->canvas(), barRect, valueRect, determinate, animatedSeconds);
 }
 
-#elif OS(LINUX)
+#elif OS(LINUX) || OS(OPENBSD)
 
 static WebThemeEngine::Part WebThemePart(PlatformBridge::ThemePart part)
 {
