| Index: Source/core/rendering/RenderBox.cpp
|
| diff --git a/Source/core/rendering/RenderBox.cpp b/Source/core/rendering/RenderBox.cpp
|
| index 035126fa9f99c5848dd76e33b7a844ca8fdc420b..1659f975a9909152952f1430a34d7429b64a4ba8 100644
|
| --- a/Source/core/rendering/RenderBox.cpp
|
| +++ b/Source/core/rendering/RenderBox.cpp
|
| @@ -1713,43 +1713,6 @@ void RenderBox::mapLocalToContainer(const RenderLayerModelObject* repaintContain
|
| o->mapLocalToContainer(repaintContainer, transformState, mode, wasFixed);
|
| }
|
|
|
| -const RenderObject* RenderBox::pushMappingToContainer(const RenderLayerModelObject* ancestorToStopAt, RenderGeometryMap& geometryMap) const
|
| -{
|
| - ASSERT(ancestorToStopAt != this);
|
| -
|
| - bool ancestorSkipped;
|
| - RenderObject* container = this->container(ancestorToStopAt, &ancestorSkipped);
|
| - if (!container)
|
| - return 0;
|
| -
|
| - bool isFixedPos = style()->position() == FixedPosition;
|
| - bool hasTransform = hasLayer() && layer()->transform();
|
| -
|
| - LayoutSize adjustmentForSkippedAncestor;
|
| - if (ancestorSkipped) {
|
| - // There can't be a transform between repaintContainer and o, because transforms create containers, so it should be safe
|
| - // to just subtract the delta between the ancestor and o.
|
| - adjustmentForSkippedAncestor = -ancestorToStopAt->offsetFromAncestorContainer(container);
|
| - }
|
| -
|
| - bool offsetDependsOnPoint = false;
|
| - LayoutSize containerOffset = offsetFromContainer(container, LayoutPoint(), &offsetDependsOnPoint);
|
| -
|
| - bool preserve3D = container->style()->preserves3D() || style()->preserves3D();
|
| - if (shouldUseTransformFromContainer(container)) {
|
| - TransformationMatrix t;
|
| - getTransformFromContainer(container, containerOffset, t);
|
| - t.translateRight(adjustmentForSkippedAncestor.width(), adjustmentForSkippedAncestor.height());
|
| -
|
| - geometryMap.push(this, t, preserve3D, offsetDependsOnPoint, isFixedPos, hasTransform);
|
| - } else {
|
| - containerOffset += adjustmentForSkippedAncestor;
|
| - geometryMap.push(this, containerOffset, preserve3D, offsetDependsOnPoint, isFixedPos, hasTransform);
|
| - }
|
| -
|
| - return ancestorSkipped ? ancestorToStopAt : container;
|
| -}
|
| -
|
| void RenderBox::mapAbsoluteToLocalPoint(MapCoordinatesFlags mode, TransformState& transformState) const
|
| {
|
| // We don't expect to be called during layout.
|
|
|