Remove unused ContentInfo constructor.
Besides being unused, it allows for constructing a ContentInfo instance
without providing a mid, which should be required.
Bug: none
Change-Id: I3a19fc960db64acebc748406b91d1ae9c2132181
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/404820
Auto-Submit: Tomas Gunnarsson <tommi@webrtc.org>
Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#45358}
diff --git a/pc/session_description.h b/pc/session_description.h
index b672ce9..c5d2554 100644
--- a/pc/session_description.h
+++ b/pc/session_description.h
@@ -383,7 +383,6 @@
// Owns the description.
class RTC_EXPORT ContentInfo {
public:
- explicit ContentInfo(MediaProtocolType type) : type(type) {}
ContentInfo(MediaProtocolType type,
absl::string_view mid,
std::unique_ptr<MediaContentDescription> description,