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 0f654db55e8f0b92e52520588de389e43725c754..45cad6676fcb51c8e85fbde5b2e74735e876b9eb 100644 |
--- a/media/capture/video/linux/video_capture_device_linux.h |
+++ b/media/capture/video/linux/video_capture_device_linux.h |
@@ -48,7 +48,8 @@ class VideoCaptureDeviceLinux : public VideoCaptureDevice { |
// 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_; |
+ // Weak. |
+ V4L2CaptureDelegate* capture_impl_; |
perkj_chrome
2016/02/12 11:01:40
this looks like a memory leak. Should be scoped_pt
mcasas
2016/02/12 21:32:43
Acknowledged.
|
base::Thread v4l2_thread_; // Thread used for reading data from the device. |