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 2aa3830b5dcf9dd9e750d8ea36711b43866908ca..5985c9c16f87b5fb97a0005320ad77f6032e3e63 100644 |
--- a/content/common/gpu/media/mac_video_decode_accelerator.h |
+++ b/content/common/gpu/media/mac_video_decode_accelerator.h |
@@ -32,12 +32,10 @@ class CONTENT_EXPORT MacVideoDecodeAccelerator |
public base::NonThreadSafe { |
public: |
// Does not take ownership of |client| which must outlive |*this|. |
- MacVideoDecodeAccelerator(media::VideoDecodeAccelerator::Client* client); |
+ MacVideoDecodeAccelerator(CGLContextObj cgl_context, |
+ media::VideoDecodeAccelerator::Client* client); |
virtual ~MacVideoDecodeAccelerator(); |
- // Set the OpenGL context to use. |
- void SetCGLContext(CGLContextObj cgl_context); |
- |
// media::VideoDecodeAccelerator implementation. |
virtual bool Initialize(media::VideoCodecProfile profile) OVERRIDE; |
virtual void Decode(const media::BitstreamBuffer& bitstream_buffer) OVERRIDE; |