Index: webrtc/api/objc/RTCPeerConnection.mm |
diff --git a/webrtc/api/objc/RTCPeerConnection.mm b/webrtc/api/objc/RTCPeerConnection.mm |
index 20a893948e90492a5c2561a830006d4826b0127a..50d05f1bc699b1aceacd76a6d8740ef31f146aa2 100644 |
--- a/webrtc/api/objc/RTCPeerConnection.mm |
+++ b/webrtc/api/objc/RTCPeerConnection.mm |
@@ -383,7 +383,7 @@ void PeerConnectionDelegateAdapter::OnIceCandidate( |
return webrtc::PeerConnectionInterface::kIceConnectionDisconnected; |
case RTCIceConnectionStateClosed: |
return webrtc::PeerConnectionInterface::kIceConnectionClosed; |
- case RTCIceConnectionStateMax: |
+ case RTCIceConnectionStateCount: |
return webrtc::PeerConnectionInterface::kIceConnectionMax; |
} |
} |
@@ -406,7 +406,7 @@ void PeerConnectionDelegateAdapter::OnIceCandidate( |
case webrtc::PeerConnectionInterface::kIceConnectionClosed: |
return RTCIceConnectionStateClosed; |
case webrtc::PeerConnectionInterface::kIceConnectionMax: |
- return RTCIceConnectionStateMax; |
+ return RTCIceConnectionStateCount; |
} |
} |
@@ -426,8 +426,8 @@ void PeerConnectionDelegateAdapter::OnIceCandidate( |
return @"DISCONNECTED"; |
case RTCIceConnectionStateClosed: |
return @"CLOSED"; |
- case RTCIceConnectionStateMax: |
- return @"MAX"; |
+ case RTCIceConnectionStateCount: |
+ return @"COUNT"; |
} |
} |