Index: content/common/gpu/client/gpu_video_decode_accelerator_host.h |
diff --git a/content/common/gpu/client/gpu_video_decode_accelerator_host.h b/content/common/gpu/client/gpu_video_decode_accelerator_host.h |
index 704584dbfcad9bf8d0a3639e4e45e2c17fb83b31..81a838b0821a0e553a69a91aea8ad92a7c515743 100644 |
--- a/content/common/gpu/client/gpu_video_decode_accelerator_host.h |
+++ b/content/common/gpu/client/gpu_video_decode_accelerator_host.h |
@@ -28,7 +28,6 @@ class GpuVideoDecodeAcceleratorHost |
// |channel| is used to send IPC messages to GPU process. |
GpuVideoDecodeAcceleratorHost(GpuChannelHost* channel, |
int32 decoder_route_id, |
- media::VideoDecodeAccelerator::Client* client, |
CommandBufferProxyImpl* impl); |
// IPC::Listener implementation. |
@@ -36,7 +35,8 @@ class GpuVideoDecodeAcceleratorHost |
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |
// media::VideoDecodeAccelerator implementation. |
- virtual bool Initialize(media::VideoCodecProfile profile) OVERRIDE; |
+ virtual bool Initialize(Client* client, |
+ media::VideoCodecProfile profile) OVERRIDE; |
virtual void Decode(const media::BitstreamBuffer& bitstream_buffer) OVERRIDE; |
virtual void AssignPictureBuffers( |
const std::vector<media::PictureBuffer>& buffers) OVERRIDE; |
@@ -71,7 +71,7 @@ class GpuVideoDecodeAcceleratorHost |
int32 decoder_route_id_; |
// Reference to the client that will receive callbacks from the decoder. |
Ami GONE FROM CHROMIUM
2014/02/24 23:12:40
This isn't a "reference", so
// Client listening
sheu
2014/02/24 23:48:20
Done.
|
- media::VideoDecodeAccelerator::Client* client_; |
+ Client* client_; |
// Unowned reference to the CommandBufferProxyImpl that created us. |
CommandBufferProxyImpl* impl_; |