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(); |
} |