Chromium Code Reviews| Index: content/common/gpu/media/vaapi_video_encode_accelerator.h |
| diff --git a/content/common/gpu/media/vaapi_video_encode_accelerator.h b/content/common/gpu/media/vaapi_video_encode_accelerator.h |
| index 8a7811a3ec7808fcf3c352550b717591280823f6..cf2f524628f9795566055868ce0d02d25fc0dcb9 100644 |
| --- a/content/common/gpu/media/vaapi_video_encode_accelerator.h |
| +++ b/content/common/gpu/media/vaapi_video_encode_accelerator.h |
| @@ -17,6 +17,10 @@ |
| #include "media/filters/h264_bitstream_buffer.h" |
| #include "media/video/video_encode_accelerator.h" |
| +namespace gfx { |
| +class GLContext; |
| +}; // namespace gfx |
|
Pawel Osciak
2014/09/24 11:27:12
Unused.
llandwerlin-old
2014/10/02 14:14:23
Acknowledged.
|
| + |
| namespace content { |
| // A VideoEncodeAccelerator implementation that uses VA-API |
| @@ -25,7 +29,7 @@ namespace content { |
| class CONTENT_EXPORT VaapiVideoEncodeAccelerator |
| : public media::VideoEncodeAccelerator { |
| public: |
| - explicit VaapiVideoEncodeAccelerator(Display* x_display); |
| + explicit VaapiVideoEncodeAccelerator(); |
|
Pawel Osciak
2014/09/24 11:27:12
No need for explicit anymore.
llandwerlin-old
2014/10/02 14:14:23
Acknowledged.
|
| virtual ~VaapiVideoEncodeAccelerator(); |
| // media::VideoEncodeAccelerator implementation. |
| @@ -179,8 +183,6 @@ class CONTENT_EXPORT VaapiVideoEncodeAccelerator |
| // Size in bytes required for input bitstream buffers. |
| size_t output_buffer_byte_size_; |
| - Display* x_display_; |
| - |
| // All of the members below must be accessed on the encoder_thread_, |
| // while it is running. |