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

Unified Diff: third_party/WebKit/Source/core/input/BoundaryEventDispatcher.cpp

Issue 2617783002: Migrate WTF::Vector::append() to ::push_back() [part 12 of N] (Closed)
Patch Set: rebase 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/input/BoundaryEventDispatcher.cpp
diff --git a/third_party/WebKit/Source/core/input/BoundaryEventDispatcher.cpp b/third_party/WebKit/Source/core/input/BoundaryEventDispatcher.cpp
index c1cd91a7b3b8ea8ed08326a216adce6b06764ac8..2e01b7cbce925194d95d1ac51e5dc9fe27ec5765 100644
--- a/third_party/WebKit/Source/core/input/BoundaryEventDispatcher.cpp
+++ b/third_party/WebKit/Source/core/input/BoundaryEventDispatcher.cpp
@@ -25,7 +25,7 @@ void buildAncestorChain(EventTarget* target,
// Index 0 element in the ancestors arrays will be the corresponding
// target. So the root of their document will be their last element.
for (Node* node = targetNode; node; node = FlatTreeTraversal::parent(*node))
- ancestors->append(node);
+ ancestors->push_back(node);
}
void buildAncestorChainsAndFindCommonAncestors(
« no previous file with comments | « third_party/WebKit/Source/core/html/parser/HTMLSrcsetParser.cpp ('k') | third_party/WebKit/Source/core/input/EventHandler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698