Index: content/common/gpu/gpu_messages.h |
diff --git a/content/common/gpu/gpu_messages.h b/content/common/gpu/gpu_messages.h |
index b42bc0910ea08e4feb8cdb7d43d4684b1196f4a0..d9301c9cc7da69f8f61ca30447d5ddc96d234eff 100644 |
--- a/content/common/gpu/gpu_messages.h |
+++ b/content/common/gpu/gpu_messages.h |
@@ -378,11 +378,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) |
@@ -548,6 +543,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 */) |