openbsd-ports/www/chromium/patches/patch-webkit_glue_webkitclient_impl_h
2011-03-15 11:38:05 +00:00

22 lines
934 B
Plaintext

$OpenBSD: patch-webkit_glue_webkitclient_impl_h,v 1.2 2011/03/15 11:38:05 robert Exp $
--- webkit/glue/webkitclient_impl.h.orig Mon Mar 14 11:55:38 2011
+++ webkit/glue/webkitclient_impl.h Mon Mar 14 11:55:49 2011
@@ -10,7 +10,7 @@
#include "third_party/WebKit/Source/WebKit/chromium/public/WebKitClient.h"
#if defined(OS_WIN)
#include "webkit/glue/webthemeengine_impl_win.h"
-#elif defined(OS_LINUX)
+#elif defined(OS_LINUX) || defined(OS_OPENBSD)
#include "webkit/glue/webthemeengine_impl_linux.h"
#elif defined(OS_MACOSX)
#include "webkit/glue/webthemeengine_impl_mac.h"
@@ -91,7 +91,7 @@ class WebKitClientImpl : public WebKit::WebKitClient {
double shared_timer_fire_time_;
int shared_timer_suspended_; // counter
-#if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_MACOSX)
+#if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_MACOSX) || defined(OS_OPENBSD)
WebThemeEngineImpl theme_engine_;
#endif
};