Skip to content

Commit f00b46e

Browse files
cdumezphiln
authored andcommitted
Unreviewed libwebrtc build fix with the latest SDK.
* Source/ThirdParty/libwebrtc/Source/webrtc/pc/jsep_transport_controller.cc: Canonical link: https://commits.webkit.org/270034@main
1 parent 2f4037f commit f00b46e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Source/ThirdParty/libwebrtc/Source/webrtc/pc/jsep_transport_controller.cc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ RTCError JsepTransportController::SetLocalDescription(
7777
TRACE_EVENT0("webrtc", "JsepTransportController::SetLocalDescription");
7878
if (!network_thread_->IsCurrent()) {
7979
return network_thread_->BlockingCall(
80-
[=] { return SetLocalDescription(type, description); });
80+
[=, this] { return SetLocalDescription(type, description); });
8181
}
8282

8383
RTC_DCHECK_RUN_ON(network_thread_);
@@ -98,7 +98,7 @@ RTCError JsepTransportController::SetRemoteDescription(
9898
TRACE_EVENT0("webrtc", "JsepTransportController::SetRemoteDescription");
9999
if (!network_thread_->IsCurrent()) {
100100
return network_thread_->BlockingCall(
101-
[=] { return SetRemoteDescription(type, description); });
101+
[=, this] { return SetRemoteDescription(type, description); });
102102
}
103103

104104
RTC_DCHECK_RUN_ON(network_thread_);
@@ -359,7 +359,7 @@ void JsepTransportController::SetActiveResetSrtpParams(
359359
bool active_reset_srtp_params) {
360360
if (!network_thread_->IsCurrent()) {
361361
network_thread_->BlockingCall(
362-
[=] { SetActiveResetSrtpParams(active_reset_srtp_params); });
362+
[=, this] { SetActiveResetSrtpParams(active_reset_srtp_params); });
363363
return;
364364
}
365365
RTC_DCHECK_RUN_ON(network_thread_);
@@ -374,7 +374,7 @@ void JsepTransportController::SetActiveResetSrtpParams(
374374

375375
RTCError JsepTransportController::RollbackTransports() {
376376
if (!network_thread_->IsCurrent()) {
377-
return network_thread_->BlockingCall([=] { return RollbackTransports(); });
377+
return network_thread_->BlockingCall([=, this] { return RollbackTransports(); });
378378
}
379379
RTC_DCHECK_RUN_ON(network_thread_);
380380
bundles_.Rollback();

0 commit comments

Comments
 (0)