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..4ac2d724e8c18781428771d69f4835ec5e8784db 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. |
@@ -152,7 +152,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_; |
@@ -179,8 +179,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. |