| Index: Source/core/rendering/compositing/CompositedLayerMapping.cpp
|
| diff --git a/Source/core/rendering/compositing/CompositedLayerMapping.cpp b/Source/core/rendering/compositing/CompositedLayerMapping.cpp
|
| index 5ce65bf6773ac9cf73635304c41ca46a2c4fd52b..3f3eeb5bc620195b3bcd7e04d5f38dbf2058e7f6 100644
|
| --- a/Source/core/rendering/compositing/CompositedLayerMapping.cpp
|
| +++ b/Source/core/rendering/compositing/CompositedLayerMapping.cpp
|
| @@ -849,12 +849,6 @@ void CompositedLayerMapping::updateReflectionLayerGeometry()
|
|
|
| CompositedLayerMappingPtr reflectionCompositedLayerMapping = m_owningLayer.reflectionInfo()->reflectionLayer()->compositedLayerMapping();
|
| reflectionCompositedLayerMapping->updateGraphicsLayerGeometry(GraphicsLayerUpdater::ForceUpdate, &m_owningLayer);
|
| -
|
| - // The reflection layer has the bounds of m_owningLayer.reflectionLayer(),
|
| - // but the reflected layer is the bounds of this layer, so we need to position it appropriately.
|
| - FloatRect layerBounds = compositedBounds();
|
| - FloatRect reflectionLayerBounds = reflectionCompositedLayerMapping->compositedBounds();
|
| - reflectionCompositedLayerMapping->mainGraphicsLayer()->setReplicatedLayerPosition(FloatPoint(layerBounds.location() - reflectionLayerBounds.location()));
|
| }
|
|
|
| void CompositedLayerMapping::updateScrollingLayerGeometry(const IntRect& localCompositingBounds)
|
|
|