In rtc::ByteBuffer drop support for ORDER_HOST as unused
Bug: None
Change-Id: Ideab428b13d981cddf9784cfd07fb7dfb2e914fe
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/159698
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#29803}
diff --git a/pc/sctp_utils.cc b/pc/sctp_utils.cc
index 129ee07..9cdff0e 100644
--- a/pc/sctp_utils.cc
+++ b/pc/sctp_utils.cc
@@ -169,8 +169,7 @@
}
rtc::ByteBufferWriter buffer(NULL,
- 20 + label.length() + config.protocol.length(),
- rtc::ByteBuffer::ORDER_NETWORK);
+ 20 + label.length() + config.protocol.length());
// TODO(tommi): Add error handling and check resulting length.
buffer.WriteUInt8(DATA_CHANNEL_OPEN_MESSAGE_TYPE);
buffer.WriteUInt8(channel_type);