Deprecate non-refcount CreateVideoTrack
Bug: webrtc:15017
Change-Id: I978a14dcb2fac7777a12c3f89b1a7207dd896b37
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/299075
Reviewed-by: Henrik Boström <hbos@webrtc.org>
Commit-Queue: Harald Alvestrand <hta@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#39700}
diff --git a/api/peer_connection_interface.h b/api/peer_connection_interface.h
index 58e2d33..6ce4650 100644
--- a/api/peer_connection_interface.h
+++ b/api/peer_connection_interface.h
@@ -1555,9 +1555,7 @@
virtual rtc::scoped_refptr<VideoTrackInterface> CreateVideoTrack(
rtc::scoped_refptr<VideoTrackSourceInterface> source,
absl::string_view label) = 0;
- // TODO(bugs.webrtc.org/15017): Deprecate this function once Chrome
- // has been updated - it can't land as deprecated.
- // ABSL_DEPRECATED("Use version with scoped_refptr")
+ ABSL_DEPRECATED("Use version with scoped_refptr")
virtual rtc::scoped_refptr<VideoTrackInterface> CreateVideoTrack(
const std::string& label,
VideoTrackSourceInterface* source) {