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

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

Issue 2657443005: Migrate WTF::HashSet::add() to ::insert() [part 1 of N] (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/Range.cpp
diff --git a/third_party/WebKit/Source/core/dom/Range.cpp b/third_party/WebKit/Source/core/dom/Range.cpp
index 699262fd200482efda814834e570fb1a189e54da..561597fdc871299894a45598533ae8d88d7ca99e 100644
--- a/third_party/WebKit/Source/core/dom/Range.cpp
+++ b/third_party/WebKit/Source/core/dom/Range.cpp
@@ -1641,7 +1641,7 @@ void Range::getBorderAndTextQuads(Vector<FloatQuad>& quads) const {
for (Node* node = firstNode(); node != stopNode;
node = NodeTraversal::next(*node)) {
if (node->isElementNode())
- nodeSet.add(node);
+ nodeSet.insert(node);
}
for (Node* node = firstNode(); node != stopNode;
« no previous file with comments | « third_party/WebKit/Source/core/dom/NodeRareData.h ('k') | third_party/WebKit/Source/core/dom/ResizeObserverController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698