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

Unified Diff: third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.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/WorkerThreadDebugger.cpp
diff --git a/third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.cpp b/third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.cpp
index 55707d7184ffaedfce3e3ce752befb4173648ecd..852e22ef38d0ecc79662a84ed15cb92e3e651f83 100644
--- a/third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.cpp
+++ b/third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.cpp
@@ -105,7 +105,7 @@ void WorkerThreadDebugger::contextWillBeDestroyed(
v8::Local<v8::Context> context) {
int workerContextGroupId = contextGroupId(workerThread);
DCHECK(m_workerThreads.contains(workerContextGroupId));
- m_workerThreads.remove(workerContextGroupId);
+ m_workerThreads.erase(workerContextGroupId);
v8Inspector()->contextDestroyed(context);
}

Powered by Google App Engine
This is Rietveld 408576698