| Index: Source/core/dom/DocumentLifecycle.cpp
|
| diff --git a/Source/core/dom/DocumentLifecycle.cpp b/Source/core/dom/DocumentLifecycle.cpp
|
| index 25abf3c9c49481710b9a62c380547cdd91aec1c1..d211b751ae752ae965da5e7266dec7531bdb6022 100644
|
| --- a/Source/core/dom/DocumentLifecycle.cpp
|
| +++ b/Source/core/dom/DocumentLifecycle.cpp
|
| @@ -30,6 +30,7 @@
|
|
|
| #include "config.h"
|
| #include "core/dom/DocumentLifecycle.h"
|
| +#include "platform/RuntimeEnabledFeatures.h"
|
|
|
| #include "wtf/Assertions.h"
|
|
|
| @@ -172,6 +173,8 @@ bool DocumentLifecycle::canAdvanceTo(State state) const
|
| return true;
|
| if (state == InCompositingUpdate)
|
| return true;
|
| + if (RuntimeEnabledFeatures::slimmingPaintCompositorLayerizationEnabled() && state == InPaintInvalidation)
|
| + return true;
|
| break;
|
| case InCompositingUpdate:
|
| return state == CompositingClean;
|
|
|