| Index: Source/core/rendering/RenderBlock.cpp
|
| diff --git a/Source/core/rendering/RenderBlock.cpp b/Source/core/rendering/RenderBlock.cpp
|
| index 61cb16b70d3176d9d8eacb5e8edad1dd6a9754ad..785d6b1a6c034b0d4a165f59adbfb7a78295735b 100644
|
| --- a/Source/core/rendering/RenderBlock.cpp
|
| +++ b/Source/core/rendering/RenderBlock.cpp
|
| @@ -368,10 +368,12 @@ void RenderBlock::styleDidChange(StyleDifference diff, const RenderStyle* oldSty
|
|
|
| void RenderBlock::invalidateTreeAfterLayout(const RenderLayerModelObject& invalidationContainer)
|
| {
|
| - if (!shouldCheckForPaintInvalidationAfterLayout())
|
| - return;
|
| + // Note, we don't want to early out here using shouldCheckForInvalidationAfterLayout as
|
| + // we have to make sure we go through any positioned objects as they won't be seen in
|
| + // the normal tree walk.
|
|
|
| - RenderBox::invalidateTreeAfterLayout(invalidationContainer);
|
| + if (shouldCheckForPaintInvalidationAfterLayout())
|
| + RenderBox::invalidateTreeAfterLayout(invalidationContainer);
|
|
|
| // Take care of positioned objects. This is required as LayoutState keeps a single clip rect.
|
| if (TrackedRendererListHashSet* positionedObjects = this->positionedObjects()) {
|
|
|