Index: content/common/child_process_messages.h |
diff --git a/content/common/child_process_messages.h b/content/common/child_process_messages.h |
index 8587f989af6548a8eb4fb85ce97a85c72bcf27b1..623a0317d83a6e7bfc4c3aefcb2374b4cc9e0910 100644 |
--- a/content/common/child_process_messages.h |
+++ b/content/common/child_process_messages.h |
@@ -60,6 +60,9 @@ IPC_STRUCT_TRAITS_END() |
IPC_ENUM_TRAITS_MAX_VALUE(gfx::GpuMemoryBufferType, |
gfx::GPU_MEMORY_BUFFER_TYPE_LAST) |
+IPC_ENUM_TRAITS_MAX_VALUE(gfx::GpuMemoryBuffer::Usage, |
+ gfx::GpuMemoryBuffer::USAGE_LAST) |
+ |
#if defined(OS_ANDROID) |
IPC_STRUCT_TRAITS_BEGIN(gfx::SurfaceTextureId) |
IPC_STRUCT_TRAITS_MEMBER(primary_id) |
@@ -181,8 +184,9 @@ IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_TcmallocStats, |
#endif |
// Asks the browser to create a gpu memory buffer. |
-IPC_SYNC_MESSAGE_CONTROL3_1(ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer, |
+IPC_SYNC_MESSAGE_CONTROL4_1(ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer, |
uint32 /* width */, |
uint32 /* height */, |
uint32 /* internalformat */, |
+ gfx::GpuMemoryBuffer::Usage /* usage */, |
gfx::GpuMemoryBufferHandle) |