chromium 11.0.969.72
[chromium.git] / patches / patch-third__party_WebKit_Source_WebKit_chromium_src_PlatformBridge.cpp
1 $NetBSD$
2
3 --- third_party/WebKit/Source/WebKit/chromium/src/PlatformBridge.cpp.orig       2011-05-24 08:03:03.000000000 +0000
4 +++ third_party/WebKit/Source/WebKit/chromium/src/PlatformBridge.cpp
5 @@ -70,7 +70,7 @@
6  #include "win/WebThemeEngine.h"
7  #endif
8  
9 -#if OS(LINUX) || OS(FREEBSD)
10 +#if OS(LINUX) || OS(BSD)
11  #include "linux/WebThemeEngine.h"
12  #include "WebFontInfo.h"
13  #include "WebFontRenderStyle.h"
14 @@ -432,7 +432,7 @@ bool PlatformBridge::ensureFontLoaded(HF
15  }
16  #endif
17  
18 -#if OS(LINUX) || OS(FREEBSD)
19 +#if OS(LINUX) || OS(BSD)
20  String PlatformBridge::getFontFamilyForCharacters(const UChar* characters, size_t numCharacters, const char* preferredLocale)
21  {
22      if (webKitClient()->sandboxSupport())
23 @@ -773,7 +773,7 @@ void PlatformBridge::paintProgressBar(
24          gc->platformContext()->canvas(), barRect, valueRect, determinate, animatedSeconds);
25  }
26  
27 -#elif OS(LINUX)
28 +#elif OS(LINUX) || OS(BSD)
29  
30  static WebThemeEngine::Part WebThemePart(PlatformBridge::ThemePart part)
31  {