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

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

Issue 1696673003: Tweaks for new Objective-C API. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Don't use object subscripting 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
« no previous file with comments | « webrtc/api/objc/RTCDataChannel.h ('k') | webrtc/api/objc/RTCDataChannelConfiguration.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/objc/RTCDataChannel.mm
diff --git a/webrtc/api/objc/RTCDataChannel.mm b/webrtc/api/objc/RTCDataChannel.mm
index a1f484a1a29f60042170ce26b951c5bdc22cff74..5778cb5b7afd19602c754c6467268cbd0c6c06a2 100644
--- a/webrtc/api/objc/RTCDataChannel.mm
+++ b/webrtc/api/objc/RTCDataChannel.mm
@@ -123,7 +123,7 @@ class DataChannelDelegateAdapter : public DataChannelObserver {
return _nativDataChannel->negotiated();
}
-- (int)id {
+- (int)channelId {
return _nativDataChannel->id();
}
@@ -161,7 +161,7 @@ class DataChannelDelegateAdapter : public DataChannelObserver {
- (NSString *)description {
return [NSString stringWithFormat:@"RTCDataChannel:\n%ld\n%@\n%@",
- (long)self.id,
+ (long)self.channelId,
self.label,
[[self class]
stringForState:self.readyState]];
« no previous file with comments | « webrtc/api/objc/RTCDataChannel.h ('k') | webrtc/api/objc/RTCDataChannelConfiguration.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698