| Index: content/common/gpu/client/command_buffer_proxy_impl.h
|
| diff --git a/content/common/gpu/client/command_buffer_proxy_impl.h b/content/common/gpu/client/command_buffer_proxy_impl.h
|
| index 7f77463996cf488ba6b001e019e65b4b94c0b23e..600d267218c7507343cdf962ed6902e76b9b7b74 100644
|
| --- a/content/common/gpu/client/command_buffer_proxy_impl.h
|
| +++ b/content/common/gpu/client/command_buffer_proxy_impl.h
|
| @@ -107,7 +107,7 @@ class CommandBufferProxyImpl
|
|
|
| private:
|
| typedef std::map<int32, gpu::Buffer> TransferBufferMap;
|
| - typedef std::map<int, GpuVideoDecodeAcceleratorHost*> Decoders;
|
| + typedef std::map<int, base::WeakPtr<GpuVideoDecodeAcceleratorHost> > Decoders;
|
| typedef base::hash_map<uint32, base::Closure> SignalTaskMap;
|
|
|
| // Send an IPC message over the GPU channel. This is private to fully
|
| @@ -130,8 +130,8 @@ class CommandBufferProxyImpl
|
| // Local cache of id to transfer buffer mapping.
|
| TransferBufferMap transfer_buffers_;
|
|
|
| - // Zero or more video decoder hosts owned by this proxy, keyed by their
|
| - // decoder_route_id.
|
| + // Zero or more (unowned!) video decoder hosts using this proxy, keyed by
|
| + // their decoder_route_id.
|
| Decoders video_decoder_hosts_;
|
|
|
| // The last cached state received from the service.
|
|
|