| Index: Source/core/layout/LayoutObject.cpp
|
| diff --git a/Source/core/layout/LayoutObject.cpp b/Source/core/layout/LayoutObject.cpp
|
| index 822373f88222ca5d4d057771d71ac812fcc2e727..4f9f22816662da5876519578f5aa07733f999eb3 100644
|
| --- a/Source/core/layout/LayoutObject.cpp
|
| +++ b/Source/core/layout/LayoutObject.cpp
|
| @@ -636,6 +636,11 @@ bool LayoutObject::skipInvalidationWhenLaidOutChildren() const
|
| if (isSVG() || (isRenderBlockFlow() && toRenderBlockFlow(this)->firstLineBox()))
|
| return false;
|
|
|
| + // In case scrollbars got repositioned (which will typically happen if the layout object got
|
| + // resized), we cannot skip invalidation.
|
| + if (hasNonCompositedScrollbars())
|
| + return false;
|
| +
|
| return rendererHasNoBoxEffect();
|
| }
|
|
|
|
|