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

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

Issue 2725063003: Migrate WTF::LinkedHashSet/ListHashSet/HashTable::remove() to ::erase() (Closed)
Patch Set: rebase Created 3 years, 9 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/DocumentOrderedList.cpp
diff --git a/third_party/WebKit/Source/core/dom/DocumentOrderedList.cpp b/third_party/WebKit/Source/core/dom/DocumentOrderedList.cpp
index e149581b092d50dd7900e1c2dd615c4a4eb81fe7..a4e3b54b7302477b3d823002ddee257c775fd4d9 100644
--- a/third_party/WebKit/Source/core/dom/DocumentOrderedList.cpp
+++ b/third_party/WebKit/Source/core/dom/DocumentOrderedList.cpp
@@ -60,7 +60,7 @@ void DocumentOrderedList::add(Node* node) {
}
void DocumentOrderedList::remove(const Node* node) {
- m_nodes.remove(const_cast<Node*>(node));
+ m_nodes.erase(const_cast<Node*>(node));
}
DEFINE_TRACE(DocumentOrderedList) {
« no previous file with comments | « third_party/WebKit/Source/core/css/MediaQueryMatcher.cpp ('k') | third_party/WebKit/Source/core/dom/IntersectionObserver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698