Index: content/common/gpu/media/vt_video_decode_accelerator.h |
diff --git a/content/common/gpu/media/vt_video_decode_accelerator.h b/content/common/gpu/media/vt_video_decode_accelerator.h |
index b6e06880db6c5f4d1218d0c27b17e84da0728c4b..9f0e948cd70d544bb37eb33170791ee2cd31479f 100644 |
--- a/content/common/gpu/media/vt_video_decode_accelerator.h |
+++ b/content/common/gpu/media/vt_video_decode_accelerator.h |
@@ -33,7 +33,9 @@ class VTVideoDecodeAccelerator |
: public media::VideoDecodeAccelerator, |
public base::NonThreadSafe { |
public: |
- explicit VTVideoDecodeAccelerator(CGLContextObj cgl_context); |
+ explicit VTVideoDecodeAccelerator( |
+ CGLContextObj cgl_context, |
Pawel Osciak
2014/10/20 08:03:29
Bad indent.
sandersd (OOO until July 31)
2014/10/20 17:55:50
Done.
|
+ const base::Callback<bool(void)>& make_context_current); |
virtual ~VTVideoDecodeAccelerator(); |
// VideoDecodeAccelerator implementation. |
@@ -123,6 +125,7 @@ class VTVideoDecodeAccelerator |
// GPU thread state. |
// |
CGLContextObj cgl_context_; |
+ base::Callback<bool(void)> make_context_current_; |
media::VideoDecodeAccelerator::Client* client_; |
bool has_error_; // client_->NotifyError() called. |
gfx::Size texture_size_; |