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/workers/WorkerThread.cpp

Issue 2657443005: Migrate WTF::HashSet::add() to ::insert() [part 1 of N] (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/workers/WorkerThread.cpp
diff --git a/third_party/WebKit/Source/core/workers/WorkerThread.cpp b/third_party/WebKit/Source/core/workers/WorkerThread.cpp
index 2ba48389950245b3303ef50ef2f0c6933056bc1c..2a426add216f71f3b7f95cc935123a66215c3c37 100644
--- a/third_party/WebKit/Source/core/workers/WorkerThread.cpp
+++ b/third_party/WebKit/Source/core/workers/WorkerThread.cpp
@@ -301,7 +301,7 @@ WorkerThread::WorkerThread(PassRefPtr<WorkerLoaderProxy> workerLoaderProxy,
m_workerThreadLifecycleContext(new WorkerThreadLifecycleContext) {
DCHECK(isMainThread());
MutexLocker lock(threadSetMutex());
- workerThreads().add(this);
+ workerThreads().insert(this);
}
void WorkerThread::terminateInternal(TerminationMode mode) {
« no previous file with comments | « third_party/WebKit/Source/core/workers/WorkerInspectorProxy.cpp ('k') | third_party/WebKit/Source/core/workers/Worklet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698