| Index: content/browser/renderer_host/media/video_capture_gpu_jpeg_decoder.h
|
| diff --git a/content/browser/renderer_host/media/video_capture_gpu_jpeg_decoder.h b/content/browser/renderer_host/media/video_capture_gpu_jpeg_decoder.h
|
| index ebe57c7d2155d514f0fde5e9bd011e645bb02b9f..04ef6ca257a88eb62db2f90370cd6391e464ea2b 100644
|
| --- a/content/browser/renderer_host/media/video_capture_gpu_jpeg_decoder.h
|
| +++ b/content/browser/renderer_host/media/video_capture_gpu_jpeg_decoder.h
|
| @@ -15,6 +15,7 @@
|
| #include "base/macros.h"
|
| #include "base/memory/ref_counted.h"
|
| #include "base/memory/weak_ptr.h"
|
| +#include "base/sequence_checker.h"
|
| #include "base/single_thread_task_runner.h"
|
| #include "base/threading/thread.h"
|
| #include "content/common/content_export.h"
|
| @@ -37,7 +38,6 @@ namespace content {
|
| class CONTENT_EXPORT VideoCaptureGpuJpegDecoder
|
| : public media::VideoCaptureJpegDecoder,
|
| public media::JpegDecodeAccelerator::Client,
|
| - public base::NonThreadSafe,
|
| public base::SupportsWeakPtr<VideoCaptureGpuJpegDecoder> {
|
| public:
|
| // |decode_done_cb| is called on the IO thread when decode succeed. This can
|
| @@ -114,6 +114,8 @@ class CONTENT_EXPORT VideoCaptureGpuJpegDecoder
|
|
|
| STATUS decoder_status_;
|
|
|
| + SEQUENCE_CHECKER(sequence_checker_);
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(VideoCaptureGpuJpegDecoder);
|
| };
|
|
|
|
|