| 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 d420fd421d57c298d31d9d198496d549beb8cff7..b5e80ea111e90c4c89d65e5bf2dbbd665f8f8f18 100644
|
| --- a/third_party/WebKit/Source/core/dom/DocumentLifecycle.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/DocumentLifecycle.cpp
|
| @@ -250,7 +250,7 @@ bool DocumentLifecycle::CanAdvanceTo(LifecycleState next_state) const {
|
| if (!RuntimeEnabledFeatures::slimmingPaintV2Enabled() &&
|
| next_state == kInCompositingUpdate)
|
| return true;
|
| - if (RuntimeEnabledFeatures::slimmingPaintV2Enabled() &&
|
| + if (RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled() &&
|
| next_state == kInPrePaint)
|
| return true;
|
| break;
|
| @@ -266,7 +266,7 @@ bool DocumentLifecycle::CanAdvanceTo(LifecycleState next_state) const {
|
| if (!RuntimeEnabledFeatures::slimmingPaintV2Enabled() &&
|
| next_state == kInCompositingUpdate)
|
| return true;
|
| - if (RuntimeEnabledFeatures::slimmingPaintV2Enabled() &&
|
| + if (RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled() &&
|
| next_state == kInPrePaint)
|
| return true;
|
| break;
|
|
|