$OpenBSD: patch-third_party_WebKit_Source_WebKit_chromium_src_WebFrameImpl_cpp,v 1.3 2011/06/08 20:36:56 robert Exp $
--- third_party/WebKit/Source/WebKit/chromium/src/WebFrameImpl.cpp.orig	Mon Jun  6 11:15:23 2011
+++ third_party/WebKit/Source/WebKit/chromium/src/WebFrameImpl.cpp	Wed Jun  8 09:58:37 2011
@@ -157,7 +157,7 @@
 #include <algorithm>
 #include <wtf/CurrentTime.h>
 
-#if OS(LINUX) || OS(FREEBSD)
+#if OS(LINUX) || OS(FREEBSD) || OS(OPENBSD)
 #include <gdk/gdk.h>
 #endif
 
@@ -332,7 +332,7 @@ class ChromePrintContext : public PrintContext { (publ
         float scale = m_printedPageWidth / pageRect.width();
 
         ctx.save();
-#if OS(LINUX) || OS(FREEBSD)
+#if OS(LINUX) || OS(FREEBSD) || OS(OPENBSD)
         ctx.scale(WebCore::FloatSize(scale, scale));
 #endif
         ctx.translate(static_cast<float>(-pageRect.x()),
