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

Unified Diff: third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp

Issue 2574773002: Migrate WTF::Vector::append() to ::push_back() [part 4 of N] (Closed)
Patch Set: rebase Created 4 years 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/shadow/ShadowRoot.cpp
diff --git a/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp b/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp
index fad2a8a0642d040e088ab104eaa8a8e0aeb3a67a..835e03e3aaaba6149be358deb6f62dd29e959dca 100644
--- a/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp
+++ b/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp
@@ -274,7 +274,7 @@ ShadowRoot::descendantInsertionPoints() {
HeapVector<Member<InsertionPoint>> insertionPoints;
for (InsertionPoint& insertionPoint :
Traversal<InsertionPoint>::descendantsOf(*this))
- insertionPoints.append(&insertionPoint);
+ insertionPoints.push_back(&insertionPoint);
ensureShadowRootRareDataV0().setDescendantInsertionPoints(insertionPoints);

Powered by Google App Engine
This is Rietveld 408576698