| 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..0a0517f92d937c638df0027644d8b142f1f0cfe9 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(bool pass_ownership) OVERRIDE;
|
|
|
| private:
|
| - virtual ~MacVideoDecodeAccelerator();
|
|
|
| // Callback for a completed frame.
|
| void OnFrameReady(int32 bitstream_buffer_id,
|
|
|