Index: content/common/gpu/gpu_messages.h |
diff --git a/content/common/gpu/gpu_messages.h b/content/common/gpu/gpu_messages.h |
index 4375debb68194c51cec3ff9cf04ce6e5f4207411..653c4947c64fa7ea7b922005d5fb570eadabb808 100644 |
--- a/content/common/gpu/gpu_messages.h |
+++ b/content/common/gpu/gpu_messages.h |
@@ -370,11 +370,6 @@ IPC_MESSAGE_CONTROL2(GpuHostMsg_AcceleratedSurfaceInitialized, |
int32 /* surface_id */, |
int32 /* route_id */) |
-// Tells the browser that a frame with the specific latency info was drawn to |
-// the screen |
-IPC_MESSAGE_CONTROL1(GpuHostMsg_FrameDrawn, |
- std::vector<ui::LatencyInfo> /* latency_info */) |
- |
// Same as above with a rect of the part of the surface that changed. |
IPC_MESSAGE_CONTROL1(GpuHostMsg_AcceleratedSurfaceBuffersSwapped, |
GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params) |
@@ -540,6 +535,10 @@ IPC_SYNC_MESSAGE_ROUTED5_1(GpuCommandBufferMsg_CreateVideoEncoder, |
IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_Destroyed, |
gpu::error::ContextLostReason /* reason */) |
+// Tells the browser that SwapBuffers returned and passes latency info |
+IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SwapBuffersCompleted, |
+ std::vector<ui::LatencyInfo> /* latency_info */) |
+ |
// Send to stub on surface visibility change. |
IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SetSurfaceVisible, bool /* visible */) |