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

Unified Diff: webrtc/api/objc/RTCMediaStream.mm

Issue 1773743002: Restore type attributes and remove extraneous nullability annotations for Objective-C Mac build (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 9 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 | « webrtc/api/objc/RTCMediaStream.h ('k') | webrtc/api/objc/RTCPeerConnection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/objc/RTCMediaStream.mm
diff --git a/webrtc/api/objc/RTCMediaStream.mm b/webrtc/api/objc/RTCMediaStream.mm
index 3c3e4d906455cedbc4e343d086df6903007f12a2..666022301a11ec65ffc4232ddaf55fea1f7e076a 100644
--- a/webrtc/api/objc/RTCMediaStream.mm
+++ b/webrtc/api/objc/RTCMediaStream.mm
@@ -19,8 +19,6 @@
#import "webrtc/api/objc/RTCVideoTrack+Private.h"
#import "webrtc/base/objc/NSString+StdString.h"
-// TODO(hjon): Update nullability types. See http://crbug/webrtc/5592
-
@implementation RTCMediaStream {
NSMutableArray *_audioTracks;
NSMutableArray *_videoTracks;
@@ -37,13 +35,11 @@
return [self initWithNativeMediaStream:stream];
}
-- (NSArray *)audioTracks {
-// - (NSArray<RTCAudioTrack *> *)audioTracks {
+- (NSArray<RTCAudioTrack *> *)audioTracks {
return [_audioTracks copy];
}
-- (NSArray *)videoTracks {
-// - (NSArray<RTCVideoTrack *> *)videoTracks {
+- (NSArray<RTCVideoTrack *> *)videoTracks {
return [_videoTracks copy];
}
« no previous file with comments | « webrtc/api/objc/RTCMediaStream.h ('k') | webrtc/api/objc/RTCPeerConnection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698