| Index: Source/core/dom/DocumentLifecycle.cpp
|
| diff --git a/Source/core/dom/DocumentLifecycle.cpp b/Source/core/dom/DocumentLifecycle.cpp
|
| index 6490f0a8269f6ceb262ff8e0fbac86f8d30fe1ba..df8a50ab29080719d428eb1fcfcc92ca7be4119c 100644
|
| --- a/Source/core/dom/DocumentLifecycle.cpp
|
| +++ b/Source/core/dom/DocumentLifecycle.cpp
|
| @@ -213,6 +213,10 @@ bool DocumentLifecycle::canAdvanceTo(State nextState) const
|
| case CompositingForSlimmingPaintV2Clean:
|
| if (!RuntimeEnabledFeatures::slimmingPaintV2Enabled())
|
| return false;
|
| + if (nextState == InStyleRecalc)
|
| + return true;
|
| + if (nextState == InPreLayout)
|
| + return true;
|
| if (nextState == InCompositingUpdate)
|
| return true;
|
| if (nextState == CompositingForSlimmingPaintV2Clean)
|
|
|