| Index: media/gpu/vaapi_picture.h
|
| diff --git a/media/gpu/vaapi_picture.h b/media/gpu/vaapi_picture.h
|
| index fa9fa6d280126a6dca7869e21370dbe8d951138e..020b2b91e1b4c38ed1a297f44cade444c090b70c 100644
|
| --- a/media/gpu/vaapi_picture.h
|
| +++ b/media/gpu/vaapi_picture.h
|
| @@ -15,7 +15,7 @@
|
| #include "base/macros.h"
|
| #include "base/memory/linked_ptr.h"
|
| #include "base/memory/ref_counted.h"
|
| -#include "base/threading/non_thread_safe.h"
|
| +#include "base/sequence_checker.h"
|
| #include "media/gpu/gpu_video_decode_accelerator_helpers.h"
|
| #include "ui/gfx/geometry/size.h"
|
| #include "ui/gfx/gpu_memory_buffer.h"
|
| @@ -26,7 +26,7 @@ class VASurface;
|
| class VaapiWrapper;
|
|
|
| // Picture is native pixmap abstraction (X11/Ozone).
|
| -class VaapiPicture : public base::NonThreadSafe {
|
| +class VaapiPicture {
|
| public:
|
| // Create a VaapiPicture of |size| to be associated with |picture_buffer_id|.
|
| // If provided, bind it to |texture_id|, as well as to |client_texture_id|
|
| @@ -87,6 +87,8 @@ class VaapiPicture : public base::NonThreadSafe {
|
| private:
|
| int32_t picture_buffer_id_;
|
|
|
| + SEQUENCE_CHECKER(sequence_checker_);
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(VaapiPicture);
|
| };
|
|
|
|
|