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

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

Issue 1644843003: Compile rtc_base_objc and rtc_api_objc for Mac (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Update against master 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/RTCMediaConstraints.mm ('k') | webrtc/api/objc/WebRTC-Prefix.pch » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/objc/RTCStatsReport.mm
diff --git a/webrtc/api/objc/RTCStatsReport.mm b/webrtc/api/objc/RTCStatsReport.mm
index 35a52290145534431b73c1640233ef24f973c71c..31c804a9cfab166cf689f2b39a789d0328867960 100644
--- a/webrtc/api/objc/RTCStatsReport.mm
+++ b/webrtc/api/objc/RTCStatsReport.mm
@@ -50,9 +50,9 @@
valuePair.second->ToString()];
// Not expecting duplicate keys.
- RTC_DCHECK(values[key]);
+ RTC_DCHECK([values objectForKey:key]);
- values[key] = value;
+ [values setObject:value forKey:key];
}
_values = values;
}
« no previous file with comments | « webrtc/api/objc/RTCMediaConstraints.mm ('k') | webrtc/api/objc/WebRTC-Prefix.pch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698