summaryrefslogtreecommitdiffstats
path: root/third_party/libwebrtc/moz-patch-stack/0059.patch
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/libwebrtc/moz-patch-stack/0059.patch')
-rw-r--r--third_party/libwebrtc/moz-patch-stack/0059.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/third_party/libwebrtc/moz-patch-stack/0059.patch b/third_party/libwebrtc/moz-patch-stack/0059.patch
new file mode 100644
index 0000000000..a5825e03b3
--- /dev/null
+++ b/third_party/libwebrtc/moz-patch-stack/0059.patch
@@ -0,0 +1,22 @@
+From: Michael Froman <mjfroman@mac.com>
+Date: Wed, 1 Jun 2022 12:47:00 -0500
+Subject: Bug 1766646 - (fix-f137b75a4d) specify default constructor on
+ config.emplace(...)
+
+---
+ modules/congestion_controller/goog_cc/loss_based_bwe_v2.cc | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/modules/congestion_controller/goog_cc/loss_based_bwe_v2.cc b/modules/congestion_controller/goog_cc/loss_based_bwe_v2.cc
+index e26fcc6cb1..ef200869a6 100644
+--- a/modules/congestion_controller/goog_cc/loss_based_bwe_v2.cc
++++ b/modules/congestion_controller/goog_cc/loss_based_bwe_v2.cc
+@@ -508,7 +508,7 @@ absl::optional<LossBasedBweV2::Config> LossBasedBweV2::CreateConfig(
+ if (!enabled.Get()) {
+ return config;
+ }
+- config.emplace();
++ config.emplace(Config());
+ config->bandwidth_rampup_upper_bound_factor =
+ bandwidth_rampup_upper_bound_factor.Get();
+ config->rampup_acceleration_max_factor = rampup_acceleration_max_factor.Get();