Code cleanup: Make JsepSessionDescription::Initialize take std::unique_ptr
Bug: none Change-Id: I5e03ff6a6f16bd2e67fa4830e218b510b702d1d4 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/132321 Commit-Queue: Harald Alvestrand <hta@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Cr-Commit-Position: refs/heads/master@{#27577}
This commit is contained in:
committed by
Commit Bot
parent
8ad91372cf
commit
4d7160e41d
@ -3175,8 +3175,7 @@ TEST_P(PeerConnectionInterfaceTest,
|
||||
std::unique_ptr<SessionDescriptionInterface> modified_offer =
|
||||
webrtc::CreateSessionDescription(
|
||||
webrtc::SdpType::kOffer, offer->session_id(),
|
||||
offer->session_version(),
|
||||
absl::WrapUnique(offer->description()->Copy()));
|
||||
offer->session_version(), offer->description()->Clone());
|
||||
EXPECT_TRUE(DoSetLocalDescription(std::move(offer)));
|
||||
|
||||
auto senders = pc_->GetSenders();
|
||||
|
||||
Reference in New Issue
Block a user