| 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 5c587b2da1219ae46817e60a9c7ed7da00919e99..3469e0672e34f77a9244fd57f14496ebe0874d7d 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) {
|
|
|