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

Unified Diff: third_party/WebKit/Source/core/dom/ClientRectList.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/ClientRectList.cpp
diff --git a/third_party/WebKit/Source/core/dom/ClientRectList.cpp b/third_party/WebKit/Source/core/dom/ClientRectList.cpp
index 02c2dbf639d86bce53d8837120f45ccb8ad675e4..a39e743f14d2c28c9580e4776b7c3fddb33b15de 100644
--- a/third_party/WebKit/Source/core/dom/ClientRectList.cpp
+++ b/third_party/WebKit/Source/core/dom/ClientRectList.cpp
@@ -33,7 +33,7 @@ ClientRectList::ClientRectList() {}
ClientRectList::ClientRectList(const Vector<FloatQuad>& quads) {
m_list.reserveInitialCapacity(quads.size());
for (const auto& quad : quads)
- m_list.append(ClientRect::create(quad.boundingBox()));
+ m_list.push_back(ClientRect::create(quad.boundingBox()));
}
unsigned ClientRectList::length() const {
« no previous file with comments | « third_party/WebKit/Source/core/dom/ClientRectList.h ('k') | third_party/WebKit/Source/core/dom/ContainerNode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698