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 520228cbc1e2f5daa73fa03202c516189f4d4ba5..a12bb63b792407091431aeb93a852bef6d902ac8 100644 |
--- a/content/common/gpu/media/vaapi_video_encode_accelerator.h |
+++ b/content/common/gpu/media/vaapi_video_encode_accelerator.h |
@@ -25,7 +25,7 @@ namespace content { |
class CONTENT_EXPORT VaapiVideoEncodeAccelerator |
: public media::VideoEncodeAccelerator { |
public: |
- explicit VaapiVideoEncodeAccelerator(Display* x_display); |
+ VaapiVideoEncodeAccelerator(); |
virtual ~VaapiVideoEncodeAccelerator(); |
// media::VideoEncodeAccelerator implementation. |
@@ -151,7 +151,7 @@ class CONTENT_EXPORT VaapiVideoEncodeAccelerator |
// VaapiWrapper is the owner of all HW resources (surfaces and buffers) |
// and will free them on destruction. |
- scoped_ptr<VaapiWrapper> vaapi_wrapper_; |
+ scoped_refptr<VaapiWrapper> vaapi_wrapper_; |
// Input profile and sizes. |
media::VideoCodecProfile profile_; |
@@ -178,8 +178,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. |