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

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

Issue 2671933002: Migrate WTF::HashMap::add() to ::insert() (Closed)
Patch Set: rebase, add TODOs Created 3 years, 10 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 852e22ef38d0ecc79662a84ed15cb92e3e651f83..99b1690d2b7ab6de80d788b1ae88c31680dacccb 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