summaryrefslogtreecommitdiffstats
path: root/third_party/libwebrtc/moz-patch-stack/0061.patch
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/libwebrtc/moz-patch-stack/0061.patch')
-rw-r--r--third_party/libwebrtc/moz-patch-stack/0061.patch7
1 files changed, 5 insertions, 2 deletions
diff --git a/third_party/libwebrtc/moz-patch-stack/0061.patch b/third_party/libwebrtc/moz-patch-stack/0061.patch
index 8b12fb66f9..cc24d61d85 100644
--- a/third_party/libwebrtc/moz-patch-stack/0061.patch
+++ b/third_party/libwebrtc/moz-patch-stack/0061.patch
@@ -2,12 +2,15 @@ From: Michael Froman <mjfroman@mac.com>
Date: Tue, 21 Jun 2022 11:17:46 -0500
Subject: Bug 1772380 - to upstream - ref count this in lambda capture
+Bug 1876843 - (fix-23cecc1d43) drop rtc:: prefix on scoped_ptr
+
+Mercurial Revision: https://hg.mozilla.org/mozilla-central/rev/2e4867d8cc9813869bd80f5201d3f7d84afcd412
---
modules/video_capture/linux/video_capture_v4l2.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/video_capture/linux/video_capture_v4l2.cc b/modules/video_capture/linux/video_capture_v4l2.cc
-index 00cede01cb..d6813b13fd 100644
+index 00cede01cb..97cd9a70eb 100644
--- a/modules/video_capture/linux/video_capture_v4l2.cc
+++ b/modules/video_capture/linux/video_capture_v4l2.cc
@@ -296,8 +296,8 @@ int32_t VideoCaptureModuleV4L2::StartCapture(
@@ -16,7 +19,7 @@ index 00cede01cb..d6813b13fd 100644
_captureThread = rtc::PlatformThread::SpawnJoinable(
- [this] {
- while (CaptureProcess()) {
-+ [self = rtc::scoped_refptr(this)] {
++ [self = scoped_refptr(this)] {
+ while (self->CaptureProcess()) {
}
},