openbsd-ports/www/chromium/patches/patch-chrome_renderer_render_widget_cc
robert 089acff6fe update to the latest stable version which is now 11.0.696.60
+ switch from using system sqlite to the bundled one because they have
  many modifications that are needed
+ add a new mirror for the distfile because the google one is utterly slow
2011-04-29 13:18:01 +00:00

13 lines
524 B
Plaintext

$OpenBSD: patch-chrome_renderer_render_widget_cc,v 1.2 2011/04/29 13:18:01 robert Exp $
--- chrome/renderer/render_widget.cc.orig Tue Apr 26 10:01:45 2011
+++ chrome/renderer/render_widget.cc Thu Apr 28 11:17:49 2011
@@ -901,7 +901,7 @@ void RenderWidget::OnMsgPaintAtSize(const TransportDIB
// Close our unused handle.
#if defined(OS_WIN)
::CloseHandle(dib_handle);
-#elif defined(OS_MACOSX)
+#elif defined(OS_MACOSX) || defined(OS_OPENBSD)
base::SharedMemory::CloseHandle(dib_handle);
#endif
}