| Index: third_party/WebKit/Source/core/dom/DocumentLifecycle.h
|
| diff --git a/third_party/WebKit/Source/core/dom/DocumentLifecycle.h b/third_party/WebKit/Source/core/dom/DocumentLifecycle.h
|
| index 2580dd18f16babc483685e87b3fb03ab8d560c37..b56e7258a26e48bf43941194da2623d2ff6a45d0 100644
|
| --- a/third_party/WebKit/Source/core/dom/DocumentLifecycle.h
|
| +++ b/third_party/WebKit/Source/core/dom/DocumentLifecycle.h
|
| @@ -67,12 +67,10 @@ public:
|
| InPaintInvalidation,
|
| PaintInvalidationClean,
|
|
|
| - // When RuntimeEnabledFeatures::slimmingPaintV2Enabled.
|
| - InUpdatePaintProperties,
|
| - UpdatePaintPropertiesClean,
|
| + // When RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled or RuntimeEnabledFeatures::slimmingPaintV2Enabled.
|
| + InPrePaintTreeWalk,
|
| + PrePaintTreeWalkClean,
|
|
|
| - // When RuntimeEnabledFeatures::slimmingPaintSynchronizedPaintingEnabled
|
| - // (implied by slimmingPaintV2Enabled).
|
| InPaint,
|
| PaintClean,
|
|
|
| @@ -184,7 +182,7 @@ inline bool DocumentLifecycle::stateAllowsTreeMutations() const
|
| return m_state != InStyleRecalc
|
| && m_state != InPerformLayout
|
| && m_state != InCompositingUpdate
|
| - && m_state != InUpdatePaintProperties
|
| + && m_state != InPrePaintTreeWalk
|
| && m_state != InPaint;
|
| }
|
|
|
| @@ -208,7 +206,7 @@ inline bool DocumentLifecycle::stateAllowsDetach() const
|
| || m_state == LayoutClean
|
| || m_state == CompositingClean
|
| || m_state == PaintInvalidationClean
|
| - || m_state == UpdatePaintPropertiesClean
|
| + || m_state == PrePaintTreeWalkClean
|
| || m_state == PaintClean
|
| || m_state == Stopping;
|
| }
|
| @@ -218,7 +216,7 @@ inline bool DocumentLifecycle::stateAllowsLayoutInvalidation() const
|
| return m_state != InPerformLayout
|
| && m_state != InCompositingUpdate
|
| && m_state != InPaintInvalidation
|
| - && m_state != InUpdatePaintProperties
|
| + && m_state != InPrePaintTreeWalk
|
| && m_state != InPaint;
|
| }
|
|
|
|
|