summaryrefslogtreecommitdiffstats
path: root/third_party/libwebrtc/moz-patch-stack/0059.patch
blob: 1ae0f2a8d8affd548492e5196a6440dc8ca906ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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 7deeb7ad64..2f47ee0f18 100644
--- a/modules/congestion_controller/goog_cc/loss_based_bwe_v2.cc
+++ b/modules/congestion_controller/goog_cc/loss_based_bwe_v2.cc
@@ -549,7 +549,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->bandwidth_rampup_upper_bound_factor_in_hold =