From d32e5b3078ebc105ba7a3644298f567ae339e187 Mon Sep 17 00:00:00 2001 From: Harald Alvestrand Date: Sun, 26 Mar 2023 06:33:51 +0000 Subject: [PATCH] Deprecate non-refcount CreateVideoTrack MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: webrtc:15017 Change-Id: I978a14dcb2fac7777a12c3f89b1a7207dd896b37 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/299075 Reviewed-by: Henrik Boström Commit-Queue: Harald Alvestrand Cr-Commit-Position: refs/heads/main@{#39700} --- api/peer_connection_interface.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/api/peer_connection_interface.h b/api/peer_connection_interface.h index 58e2d3396f..6ce4650e5f 100644 --- a/api/peer_connection_interface.h +++ b/api/peer_connection_interface.h @@ -1555,9 +1555,7 @@ class RTC_EXPORT PeerConnectionFactoryInterface virtual rtc::scoped_refptr CreateVideoTrack( rtc::scoped_refptr 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 CreateVideoTrack( const std::string& label, VideoTrackSourceInterface* source) {