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

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

Issue 2703833002: Migrate WTF::HashSet::remove() to ::erase() [part 2] (Closed)
Patch Set: 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/WorkerGlobalScope.cpp
diff --git a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp
index bceb03e11d6cca630f91c6af279bd1ae2e3eb847..243a09dd44b8834ebbf21c8db515a82d342609d9 100644
--- a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp
+++ b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp
@@ -142,7 +142,7 @@ void WorkerGlobalScope::deregisterEventListener(
V8AbstractEventListener* eventListener) {
auto it = m_eventListeners.find(eventListener);
CHECK(it != m_eventListeners.end() || m_closing);
- m_eventListeners.remove(it);
+ m_eventListeners.erase(it);
}
WorkerLocation* WorkerGlobalScope::location() const {

Powered by Google App Engine
This is Rietveld 408576698