| Index: Source/core/rendering/compositing/CompositedLayerMapping.cpp
|
| diff --git a/Source/core/rendering/compositing/CompositedLayerMapping.cpp b/Source/core/rendering/compositing/CompositedLayerMapping.cpp
|
| index 3a7688193a3dd83c17a926e590fcde4c376ed3c6..1fa687b392281bc6564696b1ad8dbcb67f189593 100644
|
| --- a/Source/core/rendering/compositing/CompositedLayerMapping.cpp
|
| +++ b/Source/core/rendering/compositing/CompositedLayerMapping.cpp
|
| @@ -742,7 +742,7 @@ void CompositedLayerMapping::updateGraphicsLayerGeometry(GraphicsLayerUpdater::U
|
| } else if (m_childTransformLayer) {
|
| const IntRect borderBox = toRenderBox(m_owningLayer.renderer())->pixelSnappedBorderBoxRect();
|
| m_childTransformLayer->setSize(borderBox.size());
|
| - m_childTransformLayer->setPosition(FloatPoint(contentOffsetInCompostingLayer()));
|
| + m_childTransformLayer->setPosition(FloatPoint(contentOffsetInCompositingLayer()));
|
| }
|
|
|
| if (m_maskLayer) {
|
| @@ -1697,7 +1697,7 @@ FloatPoint3D CompositedLayerMapping::computeTransformOrigin(const IntRect& borde
|
| }
|
|
|
| // Return the offset from the top-left of this compositing layer at which the renderer's contents are painted.
|
| -LayoutSize CompositedLayerMapping::contentOffsetInCompostingLayer() const
|
| +LayoutSize CompositedLayerMapping::contentOffsetInCompositingLayer() const
|
| {
|
| return LayoutSize(-m_compositedBounds.x(), -m_compositedBounds.y());
|
| }
|
| @@ -1705,7 +1705,7 @@ LayoutSize CompositedLayerMapping::contentOffsetInCompostingLayer() const
|
| LayoutRect CompositedLayerMapping::contentsBox() const
|
| {
|
| LayoutRect contentsBox = contentsRect(renderer());
|
| - contentsBox.move(contentOffsetInCompostingLayer());
|
| + contentsBox.move(contentOffsetInCompositingLayer());
|
| return contentsBox;
|
| }
|
|
|
|
|