| Index: third_party/WebKit/Source/core/frame/FrameView.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| index 542638cc60e7f3ee01de268029f41c582d0ef704..4300359752fe850f6fd464f51751f96332ea3da8 100644
|
| --- a/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| @@ -4912,7 +4912,7 @@ void FrameView::UpdateViewportIntersectionsForSubtree(
|
| if (!GetFrame().GetDocument()->IsActive())
|
| return;
|
|
|
| - if (target_state == DocumentLifecycle::kPaintClean) {
|
| + if (target_state == DocumentLifecycle::kPaintClean && !NeedsLayout()) {
|
| RecordDeferredLoadingStats();
|
| // Notify javascript IntersectionObservers
|
| if (GetFrame().GetDocument()->GetIntersectionObserverController()) {
|
|
|