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

Unified Diff: third_party/WebKit/Source/core/dom/shadow/DistributedNodes.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/DistributedNodes.cpp
diff --git a/third_party/WebKit/Source/core/dom/shadow/DistributedNodes.cpp b/third_party/WebKit/Source/core/dom/shadow/DistributedNodes.cpp
index 3a8c6655b0f20f4bcb2b8e9f59ee67ff220cd109..9ba6b2911e673bd33bd41031f659d1e97c1df656 100644
--- a/third_party/WebKit/Source/core/dom/shadow/DistributedNodes.cpp
+++ b/third_party/WebKit/Source/core/dom/shadow/DistributedNodes.cpp
@@ -40,7 +40,7 @@ void DistributedNodes::append(Node* node) {
DCHECK(!node->isActiveSlotOrActiveInsertionPoint());
size_t size = m_nodes.size();
m_indices.set(node, size);
- m_nodes.append(node);
+ m_nodes.push_back(node);
}
size_t DistributedNodes::find(const Node* node) const {

Powered by Google App Engine
This is Rietveld 408576698