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

Unified Diff: third_party/WebKit/Source/core/timing/PerformanceUserTiming.cpp

Issue 2673543003: Migrate WTF::HashMap::remove() to ::erase() (Closed)
Patch Set: Created 3 years, 11 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/core/timing/PerformanceUserTiming.cpp
diff --git a/third_party/WebKit/Source/core/timing/PerformanceUserTiming.cpp b/third_party/WebKit/Source/core/timing/PerformanceUserTiming.cpp
index fcf0013f3346d64afc591acb2bd352b11378e741..2e9a405af576096da2cc26d2d2d16a8e59ccbbc0 100644
--- a/third_party/WebKit/Source/core/timing/PerformanceUserTiming.cpp
+++ b/third_party/WebKit/Source/core/timing/PerformanceUserTiming.cpp
@@ -100,7 +100,7 @@ static void clearPeformanceEntries(PerformanceEntryMap& performanceEntryMap,
}
if (performanceEntryMap.contains(name))
- performanceEntryMap.remove(name);
+ performanceEntryMap.erase(name);
}
PerformanceEntry* UserTiming::mark(const String& markName,
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGTreeScopeResources.cpp ('k') | third_party/WebKit/Source/core/workers/Worklet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698