commit 228a0bb65f54ebd8d592b1fed2c9a1771e70ff1a
parent e3daec3702c386b513494da7c35fc2a3cd18a9e3
Author: Lando <lando@lando.test>
Date: Tue, 9 Dec 2025 06:58:21 +0000
Bug 1999831: apply code formatting via Lando
# ignore-this-changeset
Diffstat:
2 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/netwerk/sctp/datachannel/DataChannel.cpp b/netwerk/sctp/datachannel/DataChannel.cpp
@@ -1042,8 +1042,8 @@ void DataChannelConnection::SetState(DataChannelConnectionState aState) {
}
}
-void DataChannelConnection::SendDataMessage(DataChannel& aChannel, nsACString&& aMsg,
- bool aIsBinary) {
+void DataChannelConnection::SendDataMessage(DataChannel& aChannel,
+ nsACString&& aMsg, bool aIsBinary) {
// Could be main, could be a worker
nsCString temp(std::move(aMsg));
@@ -1051,8 +1051,9 @@ void DataChannelConnection::SendDataMessage(DataChannel& aChannel, nsACString&&
mSTS->Dispatch(
NS_NewCancelableRunnableFunction(
__func__,
- [this, self = RefPtr<DataChannelConnection>(this), channel = RefPtr(&aChannel),
- msg = std::move(temp), aIsBinary]() mutable {
+ [this, self = RefPtr<DataChannelConnection>(this),
+ channel = RefPtr(&aChannel), msg = std::move(temp),
+ aIsBinary]() mutable {
Maybe<uint16_t> maxRetransmissions;
Maybe<uint16_t> maxLifetimeMs;
diff --git a/netwerk/sctp/datachannel/DataChannel.h b/netwerk/sctp/datachannel/DataChannel.h
@@ -279,7 +279,8 @@ class DataChannelConnection : public net::NeckoTargetHolder {
nsISerialEventTarget* aTarget,
MediaTransportHandler* aHandler);
- void SendDataMessage(DataChannel& aChannel, nsACString&& aMsg, bool aIsBinary);
+ void SendDataMessage(DataChannel& aChannel, nsACString&& aMsg,
+ bool aIsBinary);
DataChannelConnectionState GetState() const {
MOZ_ASSERT(mSTS->IsOnCurrentThread());