Index: webrtc/api/objctests/RTCMediaConstraintsTest.mm |
diff --git a/webrtc/api/objctests/RTCMediaConstraintsTest.mm b/webrtc/api/objctests/RTCMediaConstraintsTest.mm |
index 44ffe3d0338b173eb4cf4f10ddfacbe368c565c4..f73a6ca895d28daa6cb229f537d1410fff1d9cfe 100644 |
--- a/webrtc/api/objctests/RTCMediaConstraintsTest.mm |
+++ b/webrtc/api/objctests/RTCMediaConstraintsTest.mm |
@@ -47,7 +47,7 @@ |
EXPECT_EQ(constraints.count, nativeConstraints.size()); |
for (NSString *key in constraints) { |
- NSString *value = constraints[key]; |
+ NSString *value = [constraints objectForKey:key]; |
std::string nativeValue; |
bool found = nativeConstraints.FindFirst(key.stdString, &nativeValue); |