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

Unified Diff: third_party/WebKit/Source/core/dom/ClientRectList.h

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.h
diff --git a/third_party/WebKit/Source/core/dom/ClientRectList.h b/third_party/WebKit/Source/core/dom/ClientRectList.h
index 3f0d7debb980d0c94a95f96f8b052ec9727e2ebd..463873dce185899e344bc593520fc33ad8142233 100644
--- a/third_party/WebKit/Source/core/dom/ClientRectList.h
+++ b/third_party/WebKit/Source/core/dom/ClientRectList.h
@@ -66,7 +66,7 @@ class CORE_EXPORT ClientRectList final
explicit ClientRectList(const Rects& rects) {
m_list.reserveInitialCapacity(rects.size());
for (const auto& r : rects)
- m_list.append(ClientRect::create(FloatRect(r)));
+ m_list.push_back(ClientRect::create(FloatRect(r)));
}
explicit ClientRectList(const Vector<FloatQuad>&);
« no previous file with comments | « third_party/WebKit/Source/core/dom/ChildListMutationScope.cpp ('k') | third_party/WebKit/Source/core/dom/ClientRectList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698