commit | 6b03995bef36642911c56f49683b6ab1973be680 | [log] [tgz] |
---|---|---|
author | hjon <hjon@webrtc.org> | Thu Feb 25 12:32:58 2016 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Thu Feb 25 20:33:04 2016 +0000 |
tree | 8baf5603bd06e59e97cb88581e6bb144eaa62f95 | |
parent | 103c5347bc27b834238357e5a0a196c5ff441ad5 [diff] [blame] |
Compile rtc_api_objc on Mac. BUG= Review URL: https://codereview.webrtc.org/1726213002 Cr-Commit-Position: refs/heads/master@{#11771}
diff --git a/webrtc/api/objctests/RTCMediaConstraintsTest.mm b/webrtc/api/objctests/RTCMediaConstraintsTest.mm index 44ffe3d..f73a6ca 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);