Restore type attributes and remove extraneous nullability annotations for Objective-C Mac build
BUG=webrtc:5592
R=tkchin@webrtc.org
Review URL: https://codereview.webrtc.org/1773743002 .
Patch from Jon Hjelle <hjon@andyet.net>.
Cr-Commit-Position: refs/heads/master@{#11922}
diff --git a/webrtc/api/objc/RTCConfiguration.h b/webrtc/api/objc/RTCConfiguration.h
index ed4bfc2..144c8d3 100644
--- a/webrtc/api/objc/RTCConfiguration.h
+++ b/webrtc/api/objc/RTCConfiguration.h
@@ -12,8 +12,6 @@
@class RTCIceServer;
-// TODO(hjon): Update nullability types. See http://crbug/webrtc/5592
-
/**
* Represents the ice transport policy. This exposes the same states in C++,
* which include one more state than what exists in the W3C spec.
@@ -55,8 +53,7 @@
@interface RTCConfiguration : NSObject
/** An array of Ice Servers available to be used by ICE. */
-@property(nonatomic, copy, nonnull) NSArray *iceServers;
-// @property(nonatomic, copy) NSArray<RTCIceServer *> *iceServers;
+@property(nonatomic, copy) NSArray<RTCIceServer *> *iceServers;
/** Which candidates the ICE agent is allowed to use. The W3C calls it
* |iceTransportPolicy|, while in C++ it is called |type|. */
@@ -75,7 +72,7 @@
/** Key type used to generate SSL identity. Default is ECDSA. */
@property(nonatomic, assign) RTCEncryptionKeyType keyType;
-- (nonnull instancetype)init NS_DESIGNATED_INITIALIZER;
+- (instancetype)init NS_DESIGNATED_INITIALIZER;
@end