summaryrefslogtreecommitdiffstats
path: root/third_party/libwebrtc/moz-patch-stack/0065.patch
blob: a26476d3ccb51e29561e86bd5233ea277a477452 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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 b4d3ae8c1f..b6efdeee9e 100644
--- a/modules/congestion_controller/goog_cc/loss_based_bwe_v2.cc
+++ b/modules/congestion_controller/goog_cc/loss_based_bwe_v2.cc
@@ -457,7 +457,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();
-- 
2.34.1