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