summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-content__common__view_messages.h
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-content__common__view_messages.h')
-rw-r--r--www/chromium/files/patch-content__common__view_messages.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/chromium/files/patch-content__common__view_messages.h b/www/chromium/files/patch-content__common__view_messages.h
new file mode 100644
index 000000000000..1ad3b87f2782
--- /dev/null
+++ b/www/chromium/files/patch-content__common__view_messages.h
@@ -0,0 +1,11 @@
+--- content/common/view_messages.h.orig 2011-06-05 19:01:24.752163332 +0300
++++ content/common/view_messages.h 2011-06-05 19:01:40.420163036 +0300
+@@ -1783,7 +1783,7 @@
+ IPC_MESSAGE_CONTROL1(ViewHostMsg_SuddenTerminationChanged,
+ bool /* enabled */)
+
+-#if defined(OS_MACOSX)
++#if defined(OS_MACOSX) || defined(OS_FREEBSD)
+ // On OSX, we cannot allocated shared memory from within the sandbox, so
+ // this call exists for the renderer to ask the browser to allocate memory
+ // on its behalf. We return a file descriptor to the POSIX shared memory.