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

Unified Diff: third_party/WebKit/Source/core/workers/WorkerInspectorProxy.cpp

Issue 2696183002: Migrate WTF::HashSet::remove() to ::erase() [part 1] (Closed)
Patch Set: one more platform-specific reference 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/workers/WorkerInspectorProxy.cpp
diff --git a/third_party/WebKit/Source/core/workers/WorkerInspectorProxy.cpp b/third_party/WebKit/Source/core/workers/WorkerInspectorProxy.cpp
index ae82cd6ba19b3d393c039110adccb7692238e3bb..22a18f09cd705097b663188787f921b2e8fba647 100644
--- a/third_party/WebKit/Source/core/workers/WorkerInspectorProxy.cpp
+++ b/third_party/WebKit/Source/core/workers/WorkerInspectorProxy.cpp
@@ -73,7 +73,7 @@ void WorkerInspectorProxy::workerThreadCreated(Document* document,
void WorkerInspectorProxy::workerThreadTerminated() {
if (m_workerThread) {
DCHECK(inspectorProxies().contains(this));
- inspectorProxies().remove(this);
+ inspectorProxies().erase(this);
InspectorInstrumentation::workerTerminated(m_document, this);
}

Powered by Google App Engine
This is Rietveld 408576698