| Index: sky/engine/core/rendering/RenderInline.cpp
|
| diff --git a/sky/engine/core/rendering/RenderInline.cpp b/sky/engine/core/rendering/RenderInline.cpp
|
| index cf3b72ddc45d98f54f4ce4e90bae34fecb8cdc52..527f525cd011be8d89a41978f922fcd9c641478d 100644
|
| --- a/sky/engine/core/rendering/RenderInline.cpp
|
| +++ b/sky/engine/core/rendering/RenderInline.cpp
|
| @@ -616,19 +616,11 @@ LayoutSize RenderInline::offsetFromContainer(const RenderObject* container, cons
|
| return offset;
|
| }
|
|
|
| -void RenderInline::mapLocalToContainer(const RenderLayerModelObject* paintInvalidationContainer, TransformState& transformState, MapCoordinatesFlags mode, const PaintInvalidationState* paintInvalidationState) const
|
| +void RenderInline::mapLocalToContainer(const RenderLayerModelObject* paintInvalidationContainer, TransformState& transformState, MapCoordinatesFlags mode) const
|
| {
|
| if (paintInvalidationContainer == this)
|
| return;
|
|
|
| - if (paintInvalidationState && paintInvalidationState->canMapToContainer(paintInvalidationContainer)) {
|
| - LayoutSize offset = paintInvalidationState->paintOffset();
|
| - if (style()->hasInFlowPosition() && layer())
|
| - offset += layer()->offsetForInFlowPosition();
|
| - transformState.move(offset);
|
| - return;
|
| - }
|
| -
|
| bool containerSkipped;
|
| RenderObject* o = container(paintInvalidationContainer, &containerSkipped);
|
| if (!o)
|
| @@ -656,7 +648,7 @@ void RenderInline::mapLocalToContainer(const RenderLayerModelObject* paintInvali
|
| return;
|
| }
|
|
|
| - o->mapLocalToContainer(paintInvalidationContainer, transformState, mode, paintInvalidationState);
|
| + o->mapLocalToContainer(paintInvalidationContainer, transformState, mode);
|
| }
|
|
|
| void RenderInline::updateHitTestResult(HitTestResult& result, const LayoutPoint& point)
|
|
|