| Index: media/capture/video/linux/video_capture_device_linux.h
|
| diff --git a/media/capture/video/linux/video_capture_device_linux.h b/media/capture/video/linux/video_capture_device_linux.h
|
| index f8368009588c6dd7401912e524a9ef0d80767606..abc7b2db0a419c3ce8b9e311adb9128f7ea6283b 100644
|
| --- a/media/capture/video/linux/video_capture_device_linux.h
|
| +++ b/media/capture/video/linux/video_capture_device_linux.h
|
| @@ -53,9 +53,10 @@ class VideoCaptureDeviceLinux : public VideoCaptureDevice {
|
| static int TranslatePowerLineFrequencyToV4L2(PowerLineFrequency frequency);
|
|
|
| // Internal delegate doing the actual capture setting, buffer allocation and
|
| - // circulation with the V4L2 API. Created and deleted in the thread where
|
| - // VideoCaptureDeviceLinux lives but otherwise operating on |v4l2_thread_|.
|
| - scoped_refptr<V4L2CaptureDelegate> capture_impl_;
|
| + // circulation with the V4L2 API. Created in the thread where
|
| + // VideoCaptureDeviceLinux lives but otherwise operating and deleted on
|
| + // |v4l2_thread_|.
|
| + std::unique_ptr<V4L2CaptureDelegate> capture_impl_;
|
|
|
| // Photo-related requests waiting for |v4l2_thread_| to be active.
|
| std::list<base::Closure> photo_requests_queue_;
|
|
|