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 0339e0f43dfd5ef4852a50fd9372cb254813b09f..e33129fa45fd712ee1b0a6f6c4338487a717d038 100644 |
--- a/content/common/gpu/client/gpu_video_decode_accelerator_host.h |
+++ b/content/common/gpu/client/gpu_video_decode_accelerator_host.h |
@@ -19,13 +19,13 @@ class GpuChannelHost; |
class GpuVideoDecodeAcceleratorHost |
: public IPC::Listener, |
public media::VideoDecodeAccelerator, |
- public base::NonThreadSafe, |
- public base::SupportsWeakPtr<GpuVideoDecodeAcceleratorHost> { |
+ public base::NonThreadSafe { |
public: |
// |channel| is used to send IPC messages to GPU process. |
GpuVideoDecodeAcceleratorHost(GpuChannelHost* channel, |
int32 decoder_route_id, |
media::VideoDecodeAccelerator::Client* client); |
+ virtual ~GpuVideoDecodeAcceleratorHost(); |
// IPC::Listener implementation. |
virtual void OnChannelError() OVERRIDE; |
@@ -41,9 +41,6 @@ class GpuVideoDecodeAcceleratorHost |
virtual void Reset() OVERRIDE; |
virtual void Destroy() OVERRIDE; |
- protected: |
- virtual ~GpuVideoDecodeAcceleratorHost(); |
- |
private: |
void Send(IPC::Message* message); |