| Index: content/common/gpu/media/mac_video_decode_accelerator.h
|
| diff --git a/content/common/gpu/media/mac_video_decode_accelerator.h b/content/common/gpu/media/mac_video_decode_accelerator.h
|
| index 55cb55bc250129ec8a64998360c60e994f968eca..cc9134ba4486ee4accaf077a5cd8f0115924c85d 100644
|
| --- a/content/common/gpu/media/mac_video_decode_accelerator.h
|
| +++ b/content/common/gpu/media/mac_video_decode_accelerator.h
|
| @@ -33,6 +33,7 @@ class CONTENT_EXPORT MacVideoDecodeAccelerator
|
| public:
|
| // Does not take ownership of |client| which must outlive |*this|.
|
| MacVideoDecodeAccelerator(media::VideoDecodeAccelerator::Client* client);
|
| + virtual ~MacVideoDecodeAccelerator();
|
|
|
| // Set the OpenGL context to use.
|
| void SetCGLContext(CGLContextObj cgl_context);
|
| @@ -45,10 +46,9 @@ class CONTENT_EXPORT MacVideoDecodeAccelerator
|
| virtual void ReusePictureBuffer(int32 picture_buffer_id) OVERRIDE;
|
| virtual void Flush() OVERRIDE;
|
| virtual void Reset() OVERRIDE;
|
| - virtual void Destroy() OVERRIDE;
|
| + virtual void Destroy(scoped_ptr<VideoDecodeAccelerator> self) OVERRIDE;
|
|
|
| private:
|
| - virtual ~MacVideoDecodeAccelerator();
|
|
|
| // Callback for a completed frame.
|
| void OnFrameReady(int32 bitstream_buffer_id,
|
|
|