Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / libjingle / source / talk / app / webrtc / objc / RTCStatsReport.mm
index 8da4b46..98cf654 100644 (file)
@@ -57,7 +57,7 @@
         [NSMutableArray arrayWithCapacity:statsReport.values.size()];
     webrtc::StatsReport::Values::const_iterator it = statsReport.values.begin();
     for (; it != statsReport.values.end(); ++it) {
-      RTCPair* pair = [[RTCPair alloc] initWithKey:@(it->name.c_str())
+      RTCPair* pair = [[RTCPair alloc] initWithKey:@(it->display_name())
                                              value:@(it->value.c_str())];
       [values addObject:pair];
     }