| Index: media/gpu/vaapi_wrapper.h
|
| diff --git a/media/gpu/vaapi_wrapper.h b/media/gpu/vaapi_wrapper.h
|
| index 16efa2d644efe3bd0aa9eb89c75171506048bce3..58d5fdb3e9e8a2714346afc2abe3a50312534d7a 100644
|
| --- a/media/gpu/vaapi_wrapper.h
|
| +++ b/media/gpu/vaapi_wrapper.h
|
| @@ -17,7 +17,6 @@
|
| #include <vector>
|
|
|
| #include "base/files/file.h"
|
| -#include "base/lazy_instance.h"
|
| #include "base/macros.h"
|
| #include "base/memory/ref_counted.h"
|
| #include "base/synchronization/lock.h"
|
| @@ -257,8 +256,6 @@ class MEDIA_GPU_EXPORT VaapiWrapper
|
| #endif // USE_OZONE
|
|
|
| private:
|
| - friend class base::LazyInstance<VADisplayState>;
|
| -
|
| // Returns true if the VAAPI version is less than the specified version.
|
| bool VAAPIVersionLessThan(int major, int minor);
|
|
|
| @@ -355,9 +352,6 @@ class MEDIA_GPU_EXPORT VaapiWrapper
|
| // VA format of surfaces with va_surface_ids_.
|
| unsigned int va_surface_format_;
|
|
|
| - // Singleton instance of VADisplayState.
|
| - static base::LazyInstance<VADisplayState> va_display_state_;
|
| -
|
| // VA handles.
|
| // All valid after successful Initialize() and until Deinitialize().
|
| VADisplay va_display_;
|
| @@ -384,10 +378,6 @@ class MEDIA_GPU_EXPORT VaapiWrapper
|
| VAContextID va_vpp_context_id_;
|
| VABufferID va_vpp_buffer_id_;
|
|
|
| - // Singleton variable to store supported profile information for encode and
|
| - // decode.
|
| - static base::LazyInstance<LazyProfileInfos> profile_infos_;
|
| -
|
| DISALLOW_COPY_AND_ASSIGN(VaapiWrapper);
|
| };
|
|
|
|
|