- } else if (compositingState() == PaintsIntoOwnBacking || compositingState() == HasOwnBackingButPaintsIntoAncestor) {
- ASSERT(hasCompositedLayerMapping());
- compositedLayerMapping()->updateGraphicsLayerGeometry();
- } else if (compositingState() == PaintsIntoGroupedBacking) {
- ASSERT(compositor()->layerSquashingEnabled());
- ASSERT(groupedMapping());
- // updateGraphicsLayerGeometry() is called to update the squashingLayer in case its size/position has changed.
- // FIXME: Make sure to create a layout test that covers this scenario.
- // FIXME: It is not expected that any other layers on the compositedLayerMapping would change. we should
- // be able to just update the squashing layer only and save a lot of computation.
- groupedMapping()->updateGraphicsLayerGeometry();