| Index: content/common/gpu/gpu_command_buffer_stub.h
|
| diff --git a/content/common/gpu/gpu_command_buffer_stub.h b/content/common/gpu/gpu_command_buffer_stub.h
|
| index c50c22add401cc757db4eb1a0ffa85db25b7187d..9ea9bdb8257eeb07454f7d1aa5539e037e4104df 100644
|
| --- a/content/common/gpu/gpu_command_buffer_stub.h
|
| +++ b/content/common/gpu/gpu_command_buffer_stub.h
|
| @@ -116,7 +116,7 @@ class GpuCommandBufferStub
|
|
|
| void OnCreateVideoDecoder(const std::vector<int32>& configs,
|
| IPC::Message* reply_message);
|
| - void OnDestroyVideoDecoder();
|
| + void OnDestroyVideoDecoder(int32 decoder_route_id);
|
|
|
| void OnSwapBuffers();
|
| void OnCommandProcessed();
|
| @@ -163,8 +163,9 @@ class GpuCommandBufferStub
|
| GpuWatchdog* watchdog_;
|
| ScopedRunnableMethodFactory<GpuCommandBufferStub> task_factory_;
|
|
|
| - // The video decoder associated with this stub, if any.
|
| - scoped_ptr<GpuVideoDecodeAccelerator> video_decoder_;
|
| + // Zero or more video decoders owned by this stub, keyed by their
|
| + // decoder_route_id.
|
| + IDMap<GpuVideoDecodeAccelerator, IDMapOwnPointer> video_decoders_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(GpuCommandBufferStub);
|
| };
|
|
|