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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorWorkerAgent.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/inspector/InspectorWorkerAgent.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorWorkerAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorWorkerAgent.cpp
index d7743bc97b36696c6d1c3f3afdefebec632d5f36..3847a722a70a61ca8acc45be3e380aedc60c7d0a 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorWorkerAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorWorkerAgent.cpp
@@ -124,7 +124,7 @@ void InspectorWorkerAgent::workerTerminated(WorkerInspectorProxy* proxy) {
return;
frontend()->detachedFromTarget(proxy->inspectorId());
proxy->disconnectFromInspector(this);
- m_connectedProxies.remove(proxy->inspectorId());
+ m_connectedProxies.erase(proxy->inspectorId());
}
void InspectorWorkerAgent::connectToAllProxies() {

Powered by Google App Engine
This is Rietveld 408576698