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

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

Issue 2724363002: Migrate WTF::LinkedHashSet/ListHashSet::add() to ::insert() (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/dom/DocumentOrderedList.cpp
diff --git a/third_party/WebKit/Source/core/dom/DocumentOrderedList.cpp b/third_party/WebKit/Source/core/dom/DocumentOrderedList.cpp
index f9a786b10079ac223f0ae2dbe75b59ed27534b05..e149581b092d50dd7900e1c2dd615c4a4eb81fe7 100644
--- a/third_party/WebKit/Source/core/dom/DocumentOrderedList.cpp
+++ b/third_party/WebKit/Source/core/dom/DocumentOrderedList.cpp
@@ -35,7 +35,7 @@ namespace blink {
void DocumentOrderedList::add(Node* node) {
if (m_nodes.isEmpty()) {
- m_nodes.add(node);
+ m_nodes.insert(node);
return;
}
« 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