openbsd-ports/www/chromium/patches/patch-content_common_plugin_messages_h

13 lines
719 B
Plaintext

$OpenBSD: patch-content_common_plugin_messages_h,v 1.1 2011/06/08 20:36:56 robert Exp $
--- content/common/plugin_messages.h.orig Wed Jun 8 10:29:14 2011
+++ content/common/plugin_messages.h Wed Jun 8 10:29:21 2011
@@ -55,7 +55,7 @@ IPC_STRUCT_BEGIN(PluginMsg_UpdateGeometry_Param)
IPC_STRUCT_MEMBER(TransportDIB::Handle, windowless_buffer)
IPC_STRUCT_MEMBER(TransportDIB::Handle, background_buffer)
-#if defined(OS_MACOSX)
+#if defined(OS_MACOSX) || defined(OS_OPENBSD)
// This field contains a key that the plug-in process is expected to return
// to the renderer in its ACK message, unless the value is -1, in which case
// no ACK message is required. Other than the special -1 value, the values