Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(331)

Unified Diff: webrtc/sdk/objc/Framework/Classes/RTCPeerConnectionFactory.mm

Issue 2812533003: ObjC: RTCVideoSource cleanup (Closed)
Patch Set: Remove deprecation comment in RTCPeerConnectionFactory Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/sdk/objc/Framework/Classes/RTCVideoCapturer.m » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/sdk/objc/Framework/Classes/RTCPeerConnectionFactory.mm
diff --git a/webrtc/sdk/objc/Framework/Classes/RTCPeerConnectionFactory.mm b/webrtc/sdk/objc/Framework/Classes/RTCPeerConnectionFactory.mm
index 9759269357c961377c2a9838485babb3a4e0e181..18a707cf4c9987062272925f7e5e0eff4d85cd9b 100644
--- a/webrtc/sdk/objc/Framework/Classes/RTCPeerConnectionFactory.mm
+++ b/webrtc/sdk/objc/Framework/Classes/RTCPeerConnectionFactory.mm
@@ -89,9 +89,9 @@
}
- (RTCVideoSource *)videoSource {
- rtc::scoped_refptr<webrtc::ObjcVideoTrackSource> objc_video_track_source(
+ rtc::scoped_refptr<webrtc::ObjcVideoTrackSource> objcVideoTrackSource(
new rtc::RefCountedObject<webrtc::ObjcVideoTrackSource>());
- return [[RTCVideoSource alloc] initWithNativeVideoSource:objc_video_track_source];
+ return [[RTCVideoSource alloc] initWithNativeVideoSource:objcVideoTrackSource];
}
- (RTCVideoTrack *)videoTrackWithSource:(RTCVideoSource *)source
« no previous file with comments | « no previous file | webrtc/sdk/objc/Framework/Classes/RTCVideoCapturer.m » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698