Index: content/common/gpu/client/gpu_video_decode_accelerator_host.cc |
diff --git a/content/common/gpu/client/gpu_video_decode_accelerator_host.cc b/content/common/gpu/client/gpu_video_decode_accelerator_host.cc |
index 77cdd3accac3eaa7990bca98a926fb55f8948e1c..12522a05e009b6713352bb14df7344e96316e06d 100644 |
--- a/content/common/gpu/client/gpu_video_decode_accelerator_host.cc |
+++ b/content/common/gpu/client/gpu_video_decode_accelerator_host.cc |
@@ -117,7 +117,8 @@ void GpuVideoDecodeAcceleratorHost::Reset() { |
Send(new AcceleratedVideoDecoderMsg_Reset(decoder_route_id_)); |
} |
-void GpuVideoDecodeAcceleratorHost::Destroy() { |
+void GpuVideoDecodeAcceleratorHost::Destroy( |
+ scoped_ptr<VideoDecodeAccelerator> self) { |
DCHECK(CalledOnValidThread()); |
channel_->RemoveRoute(decoder_route_id_); |
client_ = NULL; |