| Index: Source/core/rendering/RenderView.cpp
|
| diff --git a/Source/core/rendering/RenderView.cpp b/Source/core/rendering/RenderView.cpp
|
| index 0483c9ead8198ce0d5fa8e9edc4e0286e17b4a9a..375e76011361bd300965935f7a5743696ebe35cb 100644
|
| --- a/Source/core/rendering/RenderView.cpp
|
| +++ b/Source/core/rendering/RenderView.cpp
|
| @@ -260,7 +260,7 @@ void RenderView::layout()
|
| clearNeedsLayout();
|
| }
|
|
|
| -void RenderView::mapLocalToContainer(const RenderLayerModelObject* repaintContainer, TransformState& transformState, MapCoordinatesFlags mode, bool* wasFixed) const
|
| +void RenderView::mapLocalToContainer(const RenderLayerModelObject* repaintContainer, TransformState& transformState, MapCoordinatesFlags mode, bool* wasFixed, const InvalidationTreeWalkState* invalidationTreeWalkState) const
|
| {
|
| ASSERT_UNUSED(wasFixed, !wasFixed || *wasFixed == static_cast<bool>(mode & IsFixed));
|
|
|
| @@ -281,7 +281,7 @@ void RenderView::mapLocalToContainer(const RenderLayerModelObject* repaintContai
|
| transformState.move(-frame()->view()->scrollOffset());
|
| if (parentDocRenderer->isBox())
|
| transformState.move(toLayoutSize(toRenderBox(parentDocRenderer)->contentBoxRect().location()));
|
| - parentDocRenderer->mapLocalToContainer(repaintContainer, transformState, mode, wasFixed);
|
| + parentDocRenderer->mapLocalToContainer(repaintContainer, transformState, mode, wasFixed, invalidationTreeWalkState);
|
| return;
|
| }
|
| }
|
| @@ -444,7 +444,7 @@ void RenderView::paintBoxDecorations(PaintInfo& paintInfo, const LayoutPoint&)
|
| }
|
| }
|
|
|
| -void RenderView::invalidateTreeAfterLayout(const RenderLayerModelObject& paintInvalidationContainer)
|
| +void RenderView::invalidateTreeAfterLayout(const InvalidationTreeWalkState& invalidationTreeWalkState)
|
| {
|
| ASSERT(!needsLayout());
|
|
|
| @@ -453,8 +453,7 @@ void RenderView::invalidateTreeAfterLayout(const RenderLayerModelObject& paintIn
|
| if (doingFullRepaint() && !viewRect().isEmpty())
|
| repaintViewRectangle(viewRect());
|
|
|
| - LayoutState rootLayoutState(0, false, *this);
|
| - RenderBlock::invalidateTreeAfterLayout(paintInvalidationContainer);
|
| + RenderBlock::invalidateTreeAfterLayout(invalidationTreeWalkState);
|
| }
|
|
|
| void RenderView::repaintViewRectangle(const LayoutRect& repaintRect) const
|
| @@ -496,7 +495,7 @@ void RenderView::repaintViewAndCompositedLayers()
|
| compositor()->repaintCompositedLayers();
|
| }
|
|
|
| -void RenderView::mapRectToPaintInvalidationBacking(const RenderLayerModelObject* paintInvalidationContainer, LayoutRect& rect, bool fixed) const
|
| +void RenderView::mapRectToPaintInvalidationBacking(const RenderLayerModelObject* paintInvalidationContainer, LayoutRect& rect, bool fixed, const InvalidationTreeWalkState* invalidationTreeWalkState) const
|
| {
|
| // If a container was specified, and was not 0 or the RenderView,
|
| // then we should have found it by now.
|
|
|