| 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 49455873f68fb6a182ee30e318a75d45e4ca2302..554b7c7ccaa489c124177bbfdaef55fa25a3067c 100644
|
| --- a/third_party/WebKit/Source/core/dom/DocumentLifecycle.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/DocumentLifecycle.cpp
|
| @@ -232,11 +232,11 @@ bool DocumentLifecycle::canAdvanceTo(LifecycleState nextState) const
|
| return true;
|
| break;
|
| case InPrePaint:
|
| - if (nextState == PrePaintClean && RuntimeEnabledFeatures::slimmingPaintV2Enabled())
|
| + if (nextState == PrePaintClean && RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled())
|
| return true;
|
| break;
|
| case PrePaintClean:
|
| - if (!RuntimeEnabledFeatures::slimmingPaintV2Enabled())
|
| + if (!RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled())
|
| break;
|
| if (nextState == InPaint)
|
| return true;
|
| @@ -281,6 +281,7 @@ bool DocumentLifecycle::canRewindTo(LifecycleState nextState) const
|
| || m_state == LayoutClean
|
| || m_state == CompositingClean
|
| || m_state == PaintInvalidationClean
|
| + || m_state == PrePaintClean
|
| || m_state == PaintClean;
|
| }
|
|
|
|
|