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

Unified Diff: third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.cpp

Issue 2671933002: Migrate WTF::HashMap::add() to ::insert() (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..e43f575f18ce3a08528f78e1137f65e7dc1f83e9 100644
--- a/third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.cpp
+++ b/third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.cpp
@@ -97,7 +97,7 @@ void WorkerThreadDebugger::contextCreated(WorkerThread* workerThread,
v8Inspector()->contextCreated(contextInfo);
DCHECK(!m_workerThreads.contains(workerContextGroupId));
- m_workerThreads.add(workerContextGroupId, workerThread);
+ m_workerThreads.insert(workerContextGroupId, workerThread);
}
void WorkerThreadDebugger::contextWillBeDestroyed(

Powered by Google App Engine
This is Rietveld 408576698