Index: content/common/child_process_messages.h |
diff --git a/content/common/child_process_messages.h b/content/common/child_process_messages.h |
index bbca77c304845a9c0d9ed84df15e04ddda3eca4e..fd1060f6c3c8488e9f6e51cde27b94ae144e3a0d 100644 |
--- a/content/common/child_process_messages.h |
+++ b/content/common/child_process_messages.h |
@@ -20,10 +20,6 @@ |
#include "ui/gfx/gpu_memory_buffer.h" |
#include "ui/gfx/ipc/gfx_param_traits.h" |
-#if defined(OS_MACOSX) |
-#include "content/common/mac/io_surface_manager_token.h" |
-#endif |
- |
IPC_ENUM_TRAITS_MAX_VALUE(tracked_objects::ThreadData::Status, |
tracked_objects::ThreadData::STATUS_LAST) |
@@ -74,6 +70,8 @@ IPC_STRUCT_TRAITS_BEGIN(gfx::GpuMemoryBufferHandle) |
IPC_STRUCT_TRAITS_MEMBER(stride) |
#if defined(USE_OZONE) |
IPC_STRUCT_TRAITS_MEMBER(native_pixmap_handle) |
+#elif defined(OS_MACOSX) |
+ IPC_STRUCT_TRAITS_MEMBER(mach_port) |
#endif |
IPC_STRUCT_TRAITS_END() |
@@ -121,13 +119,6 @@ IPC_MESSAGE_CONTROL1(ChildProcessMsg_GetChildHistogramData, |
IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetProcessBackgrounded, |
bool /* background */) |
-#if defined(OS_MACOSX) |
-// Sent to child processes to tell them what token to use when registering |
-// and/or acquiring IOSurfaces. |
-IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetIOSurfaceManagerToken, |
- content::IOSurfaceManagerToken /* token */) |
-#endif |
- |
// Sends a pipe used by the child process to broker passing of Mojo handles. |
IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetMojoParentPipeHandle, |
IPC::PlatformFileForTransit /* handle */) |