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

Unified Diff: third_party/WebKit/Source/core/layout/compositing/CompositingRequirementsUpdater.cpp

Issue 2610253004: Migrate WTF::Vector::append() to ::push_back() [part 9 of N] (Closed)
Patch Set: rebase Created 3 years, 11 months 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/layout/compositing/CompositingRequirementsUpdater.cpp
diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositingRequirementsUpdater.cpp b/third_party/WebKit/Source/core/layout/compositing/CompositingRequirementsUpdater.cpp
index ae698fe6276ca6ce4b07485d46568c41ef4059bf..ffc437e55e96769d9ec8c31bc2193e67288fce1f 100644
--- a/third_party/WebKit/Source/core/layout/compositing/CompositingRequirementsUpdater.cpp
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositingRequirementsUpdater.cpp
@@ -38,7 +38,7 @@ namespace blink {
class OverlapMapContainer {
public:
void add(const IntRect& bounds) {
- m_layerRects.append(bounds);
+ m_layerRects.push_back(bounds);
m_boundingBox.unite(bounds);
}
@@ -321,7 +321,7 @@ void CompositingRequirementsUpdater::updateRecursive(
// while we're iterating, so we have to store it for later removal.
if (unclippedDescendant->layoutObject()->containingBlock() ==
layer->layoutObject()) {
- unclippedDescendantsToRemove.append(i);
+ unclippedDescendantsToRemove.push_back(i);
continue;
}
if (layer->scrollsWithRespectTo(unclippedDescendant))
@@ -339,7 +339,7 @@ void CompositingRequirementsUpdater::updateRecursive(
// TODO(schenney): We only need to promote when the clipParent is not a
// descendant of the ancestor scroller, which we do not check for here.
// Hence we might be promoting needlessly.
- unclippedDescendants.append(layer);
+ unclippedDescendants.push_back(layer);
}
}

Powered by Google App Engine
This is Rietveld 408576698