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

Unified Diff: third_party/WebKit/Source/core/dom/IdTargetObserverRegistry.cpp

Issue 2673543003: Migrate WTF::HashMap::remove() to ::erase() (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/dom/IdTargetObserverRegistry.cpp
diff --git a/third_party/WebKit/Source/core/dom/IdTargetObserverRegistry.cpp b/third_party/WebKit/Source/core/dom/IdTargetObserverRegistry.cpp
index 1df010446c2c8038df77d663796efb48ef3937b8..8ab4f5fb6144745ae7809524cd76ec93db10e5fb 100644
--- a/third_party/WebKit/Source/core/dom/IdTargetObserverRegistry.cpp
+++ b/third_party/WebKit/Source/core/dom/IdTargetObserverRegistry.cpp
@@ -79,7 +79,7 @@ void IdTargetObserverRegistry::notifyObserversInternal(const AtomicString& id) {
}
if (m_notifyingObserversInSet->isEmpty())
- m_registry.remove(id.impl());
+ m_registry.erase(id.impl());
m_notifyingObserversInSet = nullptr;
}

Powered by Google App Engine
This is Rietveld 408576698