Skip to content

Commit

Permalink
Annotate commit fa8e2cc changes with WEBRTC_WEBKIT_BUILD
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=266228
rdar://119495289

Reviewed by Jean-Yves Avenard.

This ensures we do not lose track of those changes at next resync.

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

Canonical link: https://commits.webkit.org/271920@main
  • Loading branch information
youennf committed Dec 12, 2023
1 parent 1d40c07 commit b977e03
Showing 1 changed file with 15 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,11 @@ RTCError JsepTransportController::SetLocalDescription(
TRACE_EVENT0("webrtc", "JsepTransportController::SetLocalDescription");
if (!network_thread_->IsCurrent()) {
return network_thread_->BlockingCall(
[=, this] { return SetLocalDescription(type, description); });
[=
#if WEBRTC_WEBKIT_BUILD
, this
#endif
] { return SetLocalDescription(type, description); });
}

RTC_DCHECK_RUN_ON(network_thread_);
Expand All @@ -101,7 +105,11 @@ RTCError JsepTransportController::SetRemoteDescription(
TRACE_EVENT0("webrtc", "JsepTransportController::SetRemoteDescription");
if (!network_thread_->IsCurrent()) {
return network_thread_->BlockingCall(
[=, this] { return SetRemoteDescription(type, description); });
[=
#if WEBRTC_WEBKIT_BUILD
, this
#endif
] { return SetRemoteDescription(type, description); });
}

RTC_DCHECK_RUN_ON(network_thread_);
Expand Down Expand Up @@ -372,7 +380,11 @@ void JsepTransportController::SetActiveResetSrtpParams(

RTCError JsepTransportController::RollbackTransports() {
if (!network_thread_->IsCurrent()) {
return network_thread_->BlockingCall([=, this] { return RollbackTransports(); });
return network_thread_->BlockingCall([=
#if WEBRTC_WEBKIT_BUILD
, this
#endif
] { return RollbackTransports(); });
}
RTC_DCHECK_RUN_ON(network_thread_);
bundles_.Rollback();
Expand Down

0 comments on commit b977e03

Please sign in to comment.