| Index: third_party/WebKit/Source/modules/peerconnection/RTCStatsResponse.cpp
|
| diff --git a/third_party/WebKit/Source/modules/peerconnection/RTCStatsResponse.cpp b/third_party/WebKit/Source/modules/peerconnection/RTCStatsResponse.cpp
|
| index 712e20db258efbd04a4a6a90ec9cd41783de159a..ca4fc4ce5e86df8e5f25c0eaf29644171deb3d77 100644
|
| --- a/third_party/WebKit/Source/modules/peerconnection/RTCStatsResponse.cpp
|
| +++ b/third_party/WebKit/Source/modules/peerconnection/RTCStatsResponse.cpp
|
| @@ -41,7 +41,7 @@ RTCLegacyStatsReport* RTCStatsResponse::namedItem(const AtomicString& name) {
|
| void RTCStatsResponse::addStats(const WebRTCLegacyStats& stats) {
|
| m_result.push_back(RTCLegacyStatsReport::create(stats.id(), stats.type(),
|
| stats.timestamp()));
|
| - m_idmap.add(stats.id(), m_result.size() - 1);
|
| + m_idmap.insert(stats.id(), m_result.size() - 1);
|
| RTCLegacyStatsReport* report = m_result[m_result.size() - 1].get();
|
|
|
| for (std::unique_ptr<WebRTCLegacyStatsMemberIterator> member(
|
|
|