Index: webrtc/api/objctests/RTCDataChannelConfigurationTest.mm |
diff --git a/webrtc/api/objctests/RTCDataChannelConfigurationTest.mm b/webrtc/api/objctests/RTCDataChannelConfigurationTest.mm |
index 2642717f42ba617ab2c1977894f82792e3a6323b..1b3f21b8f90960a1aec8f3b889f4f0a6a1885c03 100644 |
--- a/webrtc/api/objctests/RTCDataChannelConfigurationTest.mm |
+++ b/webrtc/api/objctests/RTCDataChannelConfigurationTest.mm |
@@ -27,7 +27,7 @@ |
int maxPacketLifeTime = 5; |
int maxRetransmits = 4; |
BOOL isNegotiated = YES; |
- int streamId = 4; |
+ int channelId = 4; |
NSString *protocol = @"protocol"; |
RTCDataChannelConfiguration *dataChannelConfig = |
@@ -36,7 +36,7 @@ |
dataChannelConfig.maxPacketLifeTime = maxPacketLifeTime; |
dataChannelConfig.maxRetransmits = maxRetransmits; |
dataChannelConfig.isNegotiated = isNegotiated; |
- dataChannelConfig.streamId = streamId; |
+ dataChannelConfig.channelId = channelId; |
dataChannelConfig.protocol = protocol; |
webrtc::DataChannelInit nativeInit = dataChannelConfig.nativeDataChannelInit; |
@@ -44,7 +44,7 @@ |
EXPECT_EQ(maxPacketLifeTime, nativeInit.maxRetransmitTime); |
EXPECT_EQ(maxRetransmits, nativeInit.maxRetransmits); |
EXPECT_EQ(isNegotiated, nativeInit.negotiated); |
- EXPECT_EQ(streamId, nativeInit.id); |
+ EXPECT_EQ(channelId, nativeInit.id); |
EXPECT_EQ(protocol.stdString, nativeInit.protocol); |
} |