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

Unified Diff: third_party/WebKit/Source/core/layout/compositing/GraphicsLayerTreeBuilder.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/GraphicsLayerTreeBuilder.cpp
diff --git a/third_party/WebKit/Source/core/layout/compositing/GraphicsLayerTreeBuilder.cpp b/third_party/WebKit/Source/core/layout/compositing/GraphicsLayerTreeBuilder.cpp
index 13d018c8459573c3858c815ee6e327e991a3f256..cf282493c9b8187bfbe58b1e3d7f6b070e5a8c89 100644
--- a/third_party/WebKit/Source/core/layout/compositing/GraphicsLayerTreeBuilder.cpp
+++ b/third_party/WebKit/Source/core/layout/compositing/GraphicsLayerTreeBuilder.cpp
@@ -85,7 +85,7 @@ void GraphicsLayerTreeBuilder::rebuild(PaintLayer& layer, AncestorInfo info) {
// which needs to get parented.
if (hasCompositedLayerMapping &&
currentCompositedLayerMapping->foregroundLayer())
- infoForChildren.childLayersOfEnclosingCompositedLayer->append(
+ infoForChildren.childLayersOfEnclosingCompositedLayer->push_back(
currentCompositedLayerMapping->foregroundLayer());
}
@@ -104,7 +104,7 @@ void GraphicsLayerTreeBuilder::rebuild(PaintLayer& layer, AncestorInfo info) {
currentCompositedLayerMapping->setSublayers(layerChildren);
if (shouldAppendLayer(layer))
- info.childLayersOfEnclosingCompositedLayer->append(
+ info.childLayersOfEnclosingCompositedLayer->push_back(
currentCompositedLayerMapping->childForSuperlayers());
}
@@ -114,7 +114,7 @@ void GraphicsLayerTreeBuilder::rebuild(PaintLayer& layer, AncestorInfo info) {
->compositedLayerMapping()
->needsToReparentOverflowControls() &&
layer.scrollParent()->getScrollableArea()->topmostScrollChild() == &layer)
- info.childLayersOfEnclosingCompositedLayer->append(
+ info.childLayersOfEnclosingCompositedLayer->push_back(
layer.scrollParent()
->compositedLayerMapping()
->detachLayerForOverflowControls(*info.enclosingCompositedLayer));

Powered by Google App Engine
This is Rietveld 408576698