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

Unified Diff: third_party/WebKit/Source/modules/peerconnection/RTCStatsResponse.cpp

Issue 2709033003: Migrate WTF::HashMap::get() to ::at() (Closed)
Patch Set: rebase Created 3 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
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 ca4fc4ce5e86df8e5f25c0eaf29644171deb3d77..3c8aa296f1ccb716660edefabd3fdeca3f37aa01 100644
--- a/third_party/WebKit/Source/modules/peerconnection/RTCStatsResponse.cpp
+++ b/third_party/WebKit/Source/modules/peerconnection/RTCStatsResponse.cpp
@@ -34,7 +34,7 @@ RTCStatsResponse::RTCStatsResponse() {}
RTCLegacyStatsReport* RTCStatsResponse::namedItem(const AtomicString& name) {
if (m_idmap.find(name) != m_idmap.end())
- return m_result[m_idmap.get(name)];
+ return m_result[m_idmap.at(name)];
return nullptr;
}

Powered by Google App Engine
This is Rietveld 408576698