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

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

Issue 2671933002: Migrate WTF::HashMap::add() to ::insert() (Closed)
Patch Set: rebase, add TODOs 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/RTCLegacyStatsReport.cpp
diff --git a/third_party/WebKit/Source/modules/peerconnection/RTCLegacyStatsReport.cpp b/third_party/WebKit/Source/modules/peerconnection/RTCLegacyStatsReport.cpp
index 91299a8229052aa557e1d40dff5ca28652b1b86e..a3f09890247b9e7c6636b620c7fe1eef32f3b73b 100644
--- a/third_party/WebKit/Source/modules/peerconnection/RTCLegacyStatsReport.cpp
+++ b/third_party/WebKit/Source/modules/peerconnection/RTCLegacyStatsReport.cpp
@@ -49,7 +49,7 @@ Vector<String> RTCLegacyStatsReport::names() const {
void RTCLegacyStatsReport::addStatistic(const String& name,
const String& value) {
- m_stats.add(name, value);
+ m_stats.insert(name, value);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698