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}
diff --git a/pc/sdp_utils.cc b/pc/sdp_utils.cc
index 6a899af..e6cd07f 100644
--- a/pc/sdp_utils.cc
+++ b/pc/sdp_utils.cc
@@ -29,7 +29,7 @@
     SdpType type) {
   RTC_DCHECK(sdesc);
   auto clone = absl::make_unique<JsepSessionDescription>(type);
-  clone->Initialize(sdesc->description()->Copy(), sdesc->session_id(),
+  clone->Initialize(sdesc->description()->Clone(), sdesc->session_id(),
                     sdesc->session_version());
   // As of writing, our version of GCC does not allow returning a unique_ptr of
   // a subclass as a unique_ptr of a base class. To get around this, we need to