| Index: content/common/gpu/gpu_command_buffer_stub.cc
|
| diff --git a/content/common/gpu/gpu_command_buffer_stub.cc b/content/common/gpu/gpu_command_buffer_stub.cc
|
| index 721b3b0909deddae5aa6ca3b0c5be4b9cec69c9f..e1e95bbf6b75fe5c018d5d66764d33f30eb63331 100644
|
| --- a/content/common/gpu/gpu_command_buffer_stub.cc
|
| +++ b/content/common/gpu/gpu_command_buffer_stub.cc
|
| @@ -87,8 +87,8 @@ bool GpuCommandBufferStub::OnMessageReceived(const IPC::Message& message) {
|
| OnDestroyTransferBuffer);
|
| IPC_MESSAGE_HANDLER_DELAY_REPLY(GpuCommandBufferMsg_GetTransferBuffer,
|
| OnGetTransferBuffer);
|
| - IPC_MESSAGE_HANDLER(GpuCommandBufferMsg_CreateVideoDecoder,
|
| - OnCreateVideoDecoder)
|
| + IPC_MESSAGE_HANDLER_DELAY_REPLY(GpuCommandBufferMsg_CreateVideoDecoder,
|
| + OnCreateVideoDecoder)
|
| IPC_MESSAGE_HANDLER(GpuCommandBufferMsg_DestroyVideoDecoder,
|
| OnDestroyVideoDecoder)
|
| IPC_MESSAGE_HANDLER(GpuCommandBufferMsg_ResizeOffscreenFrameBuffer,
|
| @@ -547,10 +547,11 @@ void GpuCommandBufferStub::ReportState() {
|
| }
|
|
|
| void GpuCommandBufferStub::OnCreateVideoDecoder(
|
| - const std::vector<uint32>& configs) {
|
| + const std::vector<uint32>& configs,
|
| + IPC::Message* reply_message) {
|
| video_decoder_.reset(
|
| new GpuVideoDecodeAccelerator(this, route_id_, this));
|
| - video_decoder_->Initialize(configs);
|
| + video_decoder_->Initialize(configs, reply_message);
|
| }
|
|
|
| void GpuCommandBufferStub::OnDestroyVideoDecoder() {
|
|
|