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 ffe33d94e50aa39bb66a4789bd403afe6cb2c93c..b4019b6d8850a8e180b6f98922e7af508bcb93d8 100644 |
--- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp |
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp |
@@ -3451,7 +3451,7 @@ void CompositedLayerMapping::removeLayerFromSquashingGraphicsLayer( |
if (layerIndex == m_squashedLayers.size()) |
return; |
- m_squashedLayers.remove(layerIndex); |
+ m_squashedLayers.erase(layerIndex); |
} |
#if DCHECK_IS_ON() |
@@ -3482,8 +3482,8 @@ void CompositedLayerMapping::finishAccumulatingSquashingLayers( |
layersNeedingPaintInvalidation.push_back(m_squashedLayers[i].paintLayer); |
} |
- m_squashedLayers.remove(nextSquashedLayerIndex, |
- m_squashedLayers.size() - nextSquashedLayerIndex); |
+ m_squashedLayers.erase(nextSquashedLayerIndex, |
+ m_squashedLayers.size() - nextSquashedLayerIndex); |
} |
} |