Index: content/common/view_messages.h |
diff --git a/content/common/view_messages.h b/content/common/view_messages.h |
index b036cf53feb2fe377a4eb526940814e1f5fbe1c3..a03409965e6b13e33676ec651555354634bf522b 100644 |
--- a/content/common/view_messages.h |
+++ b/content/common/view_messages.h |
@@ -2022,15 +2022,22 @@ IPC_MESSAGE_ROUTED3(ViewHostMsg_UpdateFrameName, |
bool /* is_top_level */, |
std::string /* name */) |
+ |
+IPC_STRUCT_BEGIN(ViewHostMsg_CompositorSurfaceBuffersSwapped_Params) |
+ IPC_STRUCT_MEMBER(int32, surface_id) |
+ IPC_STRUCT_MEMBER(uint64, surface_handle) |
+ IPC_STRUCT_MEMBER(int32, route_id) |
+ IPC_STRUCT_MEMBER(gfx::Size, size) |
+ IPC_STRUCT_MEMBER(float, scale_factor) |
+ IPC_STRUCT_MEMBER(int32, gpu_process_host_id) |
+IPC_STRUCT_END() |
+ |
// This message is synthesized by GpuProcessHost to pass through a swap message |
// to the RenderWidgetHelper. This allows GetBackingStore to block for either a |
// software or GPU frame. |
-IPC_MESSAGE_ROUTED5(ViewHostMsg_CompositorSurfaceBuffersSwapped, |
- int32 /* surface id */, |
- uint64 /* surface_handle */, |
- int32 /* route_id */, |
- gfx::Size /* size */, |
- int32 /* gpu_process_host_id */) |
+IPC_MESSAGE_ROUTED1( |
+ ViewHostMsg_CompositorSurfaceBuffersSwapped, |
+ ViewHostMsg_CompositorSurfaceBuffersSwapped_Params /* params */) |
IPC_MESSAGE_ROUTED1(ViewHostMsg_SwapCompositorFrame, |
cc::CompositorFrame /* frame */) |