Index: content/common/gpu/gpu_messages.h |
diff --git a/content/common/gpu/gpu_messages.h b/content/common/gpu/gpu_messages.h |
index b789fedbf477980cebf14811c869d3e5edc2b68e..777fede08967230d3b903f491eb0637bcf08a3d9 100644 |
--- a/content/common/gpu/gpu_messages.h |
+++ b/content/common/gpu/gpu_messages.h |
@@ -386,13 +386,14 @@ IPC_SYNC_MESSAGE_ROUTED1_2(GpuCommandBufferMsg_GetTransferBuffer, |
base::SharedMemoryHandle /* transfer_buffer */, |
uint32 /* size */) |
-// Create and initialize a hardware video decoder. |
-IPC_SYNC_MESSAGE_ROUTED1_0(GpuCommandBufferMsg_CreateVideoDecoder, |
- std::vector<int32> /* configs */) |
- |
-// Release all resources held by the hardware video decoder associated with this |
-// stub. |
-IPC_SYNC_MESSAGE_ROUTED0_0(GpuCommandBufferMsg_DestroyVideoDecoder) |
+// Create and initialize a hardware video decoder, returning its new route_id. |
+IPC_SYNC_MESSAGE_ROUTED1_1(GpuCommandBufferMsg_CreateVideoDecoder, |
+ std::vector<int32> /* configs */, |
+ int /* route_id */) |
+ |
+// Release all resources held by the named hardware video decoder. |
+IPC_SYNC_MESSAGE_ROUTED1_0(GpuCommandBufferMsg_DestroyVideoDecoder, |
+ int /* route_id */) |
// Send from command buffer stub to proxy when window is invalid and must be |
// repainted. |