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

Unified Diff: third_party/WebKit/Source/core/layout/compositing/CompositingLayerAssigner.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/CompositingLayerAssigner.cpp
diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositingLayerAssigner.cpp b/third_party/WebKit/Source/core/layout/compositing/CompositingLayerAssigner.cpp
index ed11c2c5d1a755bf1cca3e190d27ffde811ac0f1..7e0d81b31146ae60032aa2364ce47bbfe1094371 100644
--- a/third_party/WebKit/Source/core/layout/compositing/CompositingLayerAssigner.cpp
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositingLayerAssigner.cpp
@@ -244,7 +244,7 @@ void CompositingLayerAssigner::updateSquashingAssignment(
// already-existing squashing layer.
TRACE_LAYER_INVALIDATION(
layer, InspectorLayerInvalidationTrackingEvent::AddedToSquashingLayer);
- layersNeedingPaintInvalidation.append(layer);
+ layersNeedingPaintInvalidation.push_back(layer);
m_layersChanged = true;
} else if (compositedLayerUpdate == RemoveFromSquashingLayer) {
if (layer->groupedMapping()) {
@@ -262,7 +262,7 @@ void CompositingLayerAssigner::updateSquashingAssignment(
TRACE_LAYER_INVALIDATION(
layer,
InspectorLayerInvalidationTrackingEvent::RemovedFromSquashingLayer);
- layersNeedingPaintInvalidation.append(layer);
+ layersNeedingPaintInvalidation.push_back(layer);
m_layersChanged = true;
layer->setLostGroupedMapping(false);
@@ -295,7 +295,7 @@ void CompositingLayerAssigner::assignLayersToBackingsInternal(
layer, compositedLayerUpdate)) {
TRACE_LAYER_INVALIDATION(
layer, InspectorLayerInvalidationTrackingEvent::NewCompositedLayer);
- layersNeedingPaintInvalidation.append(layer);
+ layersNeedingPaintInvalidation.push_back(layer);
m_layersChanged = true;
if (ScrollingCoordinator* scrollingCoordinator =
scrollingCoordinatorFromLayer(*layer)) {

Powered by Google App Engine
This is Rietveld 408576698