| 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 9a608ea2d0aa84af160a63d7440a00ca320aed39..da6f838908e64a21e795e95f3ade4b89d4c15d47 100644
|
| --- a/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| @@ -3145,6 +3145,8 @@ void FrameView::prePaint() {
|
| // we need to propagate the flags into the ancestor chain so that
|
| // PrePaintTreeWalk can reach this frame.
|
| frameView.setNeedsPaintPropertyUpdate();
|
| + if (auto owner = frameView.frame().ownerLayoutItem())
|
| + owner.setMayNeedPaintInvalidation();
|
| }
|
| });
|
|
|
| @@ -4970,6 +4972,8 @@ void FrameView::beginLifecycleUpdates() {
|
| if (!frame().loader().stateMachine()->committedFirstRealDocumentLoad())
|
| return;
|
| m_lifecycleUpdatesThrottled = false;
|
| + if (auto owner = frame().ownerLayoutItem())
|
| + owner.setMayNeedPaintInvalidation();
|
| setupRenderThrottling();
|
| updateRenderThrottlingStatus(m_hiddenForThrottling, m_subtreeThrottled);
|
| // The compositor will "defer commits" for the main frame until we
|
|
|