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

Unified Diff: third_party/WebKit/Source/core/frame/PerformanceMonitor.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/frame/PerformanceMonitor.cpp
diff --git a/third_party/WebKit/Source/core/frame/PerformanceMonitor.cpp b/third_party/WebKit/Source/core/frame/PerformanceMonitor.cpp
index 7b29652a92eedcda8b2794ec562be696e088f43a..a1772fa37077a8f3480dbf2f9c54846cd2976399 100644
--- a/third_party/WebKit/Source/core/frame/PerformanceMonitor.cpp
+++ b/third_party/WebKit/Source/core/frame/PerformanceMonitor.cpp
@@ -196,7 +196,7 @@ void PerformanceMonitor::subscribe(Violation violation,
void PerformanceMonitor::unsubscribeAll(Client* client) {
for (const auto& it : m_subscriptions)
- it.value->remove(client);
+ it.value->erase(client);
updateInstrumentation();
}

Powered by Google App Engine
This is Rietveld 408576698