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

Unified Diff: webrtc/api/objc/RTCMediaConstraints.h

Issue 1726213002: Compile rtc_api_objc on Mac. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Add nullability attributes and comment out type arguments Created 4 years, 10 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
Index: webrtc/api/objc/RTCMediaConstraints.h
diff --git a/webrtc/api/objc/RTCMediaConstraints.h b/webrtc/api/objc/RTCMediaConstraints.h
index a8ad39142e39449d75e9b7b40bad09fb2c421124..ac984490da2b4e7433260f436e9aa3ae57c82843 100644
--- a/webrtc/api/objc/RTCMediaConstraints.h
+++ b/webrtc/api/objc/RTCMediaConstraints.h
@@ -14,13 +14,13 @@ NS_ASSUME_NONNULL_BEGIN
@interface RTCMediaConstraints : NSObject
-- (instancetype)init NS_UNAVAILABLE;
+- (nonnull instancetype)init NS_UNAVAILABLE;
/** Initialize with mandatory and/or optional constraints. */
-- (instancetype)initWithMandatoryConstraints:
- (nullable NSDictionary<NSString *, NSString *> *)mandatory
+- (nonnull instancetype)initWithMandatoryConstraints:
+ (nullable NSDictionary/*<NSString *, NSString *>*/ *)mandatory
optionalConstraints:
- (nullable NSDictionary<NSString *, NSString *> *)optional
+ (nullable NSDictionary/*<NSString *, NSString *>*/ *)optional
NS_DESIGNATED_INITIALIZER;
@end

Powered by Google App Engine
This is Rietveld 408576698