| 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 9ff63af945b6b6821aa51ca6ce281d6e2e7d4510..54a2ec8c6fdf0c1d8bcf65277c2684a284cd039e 100644
|
| --- a/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| @@ -3058,9 +3058,6 @@ void FrameView::updateLifecyclePhasesInternal(
|
| prePaint();
|
| }
|
|
|
| - if (RuntimeEnabledFeatures::slimmingPaintV2Enabled())
|
| - DocumentAnimations::updateAnimations(layoutView()->document());
|
| -
|
| if (targetState == DocumentLifecycle::PaintClean) {
|
| if (!m_frame->document()->printing() ||
|
| RuntimeEnabledFeatures::printBrowserEnabled())
|
| @@ -3073,6 +3070,11 @@ void FrameView::updateLifecyclePhasesInternal(
|
| DCHECK((m_frame->document()->printing() &&
|
| lifecycle().state() == DocumentLifecycle::PrePaintClean) ||
|
| lifecycle().state() == DocumentLifecycle::PaintClean);
|
| +
|
| + if (RuntimeEnabledFeatures::slimmingPaintV2Enabled()) {
|
| + DocumentAnimations::updateAnimations(layoutView()->document(),
|
| + DocumentLifecycle::PaintClean);
|
| + }
|
| }
|
|
|
| forAllNonThrottledFrameViews([](FrameView& frameView) {
|
|
|