| Index: third_party/WebKit/Source/core/dom/DocumentLifecycle.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/DocumentLifecycle.cpp b/third_party/WebKit/Source/core/dom/DocumentLifecycle.cpp
|
| index 382a94d3ac83141f084f5618ab3f5a663b45c94b..efd0ecea0262ab79cf42eb6d800781855dff5ee2 100644
|
| --- a/third_party/WebKit/Source/core/dom/DocumentLifecycle.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/DocumentLifecycle.cpp
|
| @@ -219,7 +219,15 @@ bool DocumentLifecycle::canAdvanceTo(LifecycleState nextState) const
|
| return true;
|
| break;
|
| case UpdatePaintPropertiesClean:
|
| - if (nextState == InPaint && RuntimeEnabledFeatures::slimmingPaintV2Enabled())
|
| + if (!RuntimeEnabledFeatures::slimmingPaintV2Enabled())
|
| + break;
|
| + if (nextState == InPaint)
|
| + return true;
|
| + if (nextState == InStyleRecalc)
|
| + return true;
|
| + if (nextState == InPreLayout)
|
| + return true;
|
| + if (nextState == InCompositingUpdate)
|
| return true;
|
| break;
|
| case InPaint:
|
|
|