| 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 20aa9f46aa577f6803618959df897b0057191936..e4a1a4ecb0a60857a138b8718f4f55176fd7b911 100644
|
| --- a/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| @@ -2938,10 +2938,12 @@ void FrameView::updateLifecyclePhasesInternal(
|
|
|
| updateCompositedSelectionIfNeeded();
|
| }
|
| - }
|
|
|
| - if (targetState >= DocumentLifecycle::PrePaintClean)
|
| - prePaint();
|
| + // TODO(pdr): prePaint should be under the "Paint" devtools timeline step
|
| + // for slimming paint v2.
|
| + if (targetState >= DocumentLifecycle::PrePaintClean)
|
| + prePaint();
|
| + }
|
|
|
| if (RuntimeEnabledFeatures::slimmingPaintV2Enabled())
|
| DocumentAnimations::updateAnimations(layoutView()->document());
|
|
|