$OpenBSD: patch-third_party_WebKit_WebKit_chromium_src_WebFrameImpl_cpp,v 1.2 2011/02/08 09:43:02 espie Exp $
--- third_party/WebKit/WebKit/chromium/src/WebFrameImpl.cpp.orig	Fri Jan 21 10:29:27 2011
+++ third_party/WebKit/WebKit/chromium/src/WebFrameImpl.cpp	Mon Jan 24 11:45:53 2011
@@ -155,7 +155,7 @@
 #include "LocalCurrentGraphicsContext.h"
 #endif
 
-#if OS(LINUX) || OS(FREEBSD)
+#if OS(LINUX) || OS(FREEBSD) || OS(OPENBSD)
 #include <gdk/gdk.h>
 #endif
 
@@ -317,7 +317,7 @@ class ChromePrintContext : public PrintContext, public
         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()),
@@ -1322,7 +1322,7 @@ float WebFrameImpl::printPage(int page, WebCanvas* can
         return 0;
     }
 
-#if OS(WINDOWS) || OS(LINUX) || OS(FREEBSD) || OS(SOLARIS)
+#if OS(WINDOWS) || OS(LINUX) || OS(FREEBSD) || OS(SOLARIS) || OS(OPENBSD)
     PlatformContextSkia context(canvas);
     GraphicsContext spool(&context);
 #elif OS(DARWIN)
