| Index: Source/core/rendering/RenderGrid.cpp
|
| diff --git a/Source/core/rendering/RenderGrid.cpp b/Source/core/rendering/RenderGrid.cpp
|
| index 8d7a73ba0334b59244ef5b5e9a715a4b7f8c9a75..dba0e28798b6210c0cbcc77864d5568d10e1a9af 100644
|
| --- a/Source/core/rendering/RenderGrid.cpp
|
| +++ b/Source/core/rendering/RenderGrid.cpp
|
| @@ -296,7 +296,7 @@ void RenderGrid::layoutBlock(bool relayoutChildren)
|
|
|
| // FIXME: Much of this method is boiler plate that matches RenderBox::layoutBlock and Render*FlexibleBox::layoutBlock.
|
| // It would be nice to refactor some of the duplicate code.
|
| - LayoutRepainter repainter(*this, checkForRepaintDuringLayout());
|
| + LayoutRepainter repainter(*this, checkForPaintInvalidationDuringLayout());
|
| LayoutStateMaintainer statePusher(*this, locationOffset());
|
|
|
| LayoutSize previousSize = size();
|
| @@ -1019,7 +1019,7 @@ void RenderGrid::layoutGridItems()
|
| // If the child moved, we have to repaint it as well as any floating/positioned
|
| // descendants. An exception is if we need a layout. In this case, we know we're going to
|
| // repaint ourselves (and the child) anyway.
|
| - if (!selfNeedsLayout() && child->checkForRepaintDuringLayout())
|
| + if (!selfNeedsLayout() && child->checkForPaintInvalidationDuringLayout())
|
| child->repaintDuringLayoutIfMoved(oldChildRect);
|
| }
|
|
|
|
|