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

Unified Diff: third_party/WebKit/Source/core/dom/custom/CustomElementUpgradeSorter.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/custom/CustomElementUpgradeSorter.cpp
diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementUpgradeSorter.cpp b/third_party/WebKit/Source/core/dom/custom/CustomElementUpgradeSorter.cpp
index d3dc33ec0b04a72aba8f186a6fc559f576e7f08a..e915e92425bdbd6d7a55322d29fd3f551491fef6 100644
--- a/third_party/WebKit/Source/core/dom/custom/CustomElementUpgradeSorter.cpp
+++ b/third_party/WebKit/Source/core/dom/custom/CustomElementUpgradeSorter.cpp
@@ -66,7 +66,7 @@ void CustomElementUpgradeSorter::visit(HeapVector<Member<Element>>* result,
if (it == children.end())
return;
if (it->get()->isElementNode() && m_elements->contains(toElement(*it)))
- result->append(toElement(*it));
+ result->push_back(toElement(*it));
sorted(result, *it);
children.remove(it);
}

Powered by Google App Engine
This is Rietveld 408576698