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

Unified Diff: third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.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/CompositedLayerMapping.cpp
diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
index 5732347658f6c5d6c020ca8c9d3d8792a55d7025..e4f5b18fb2b1b60eda7d99c92ecdb7a84c2130cb 100644
--- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
@@ -893,7 +893,7 @@ void CompositedLayerMapping::updateSquashingLayerGeometry(
TRACE_LAYER_INVALIDATION(layers[i].paintLayer,
InspectorLayerInvalidationTrackingEvent::
SquashingLayerGeometryWasUpdated);
- layersNeedingPaintInvalidation.append(layers[i].paintLayer);
+ layersNeedingPaintInvalidation.push_back(layers[i].paintLayer);
}
layers[i].offsetFromLayoutObject = newOffsetFromLayoutObject;
layers[i].offsetFromLayoutObjectSet = true;
@@ -3341,7 +3341,7 @@ bool CompositedLayerMapping::updateSquashingLayerAssignment(
} else {
// Must invalidate before adding the squashed layer to the mapping.
compositor()->paintInvalidationOnCompositingChange(squashedLayer);
- m_squashedLayers.append(paintInfo);
+ m_squashedLayers.push_back(paintInfo);
}
squashedLayer->setGroupedMapping(
this, PaintLayer::InvalidateLayerAndRemoveFromMapping);
@@ -3390,7 +3390,7 @@ void CompositedLayerMapping::finishAccumulatingSquashingLayers(
if (invalidateLayerIfNoPrecedingEntry(i))
m_squashedLayers[i].paintLayer->setGroupedMapping(
nullptr, PaintLayer::DoNotInvalidateLayerAndRemoveFromMapping);
- layersNeedingPaintInvalidation.append(m_squashedLayers[i].paintLayer);
+ layersNeedingPaintInvalidation.push_back(m_squashedLayers[i].paintLayer);
}
m_squashedLayers.remove(nextSquashedLayerIndex,

Powered by Google App Engine
This is Rietveld 408576698