| Index: sky/engine/core/dom/DocumentLifecycle.h
|
| diff --git a/sky/engine/core/dom/DocumentLifecycle.h b/sky/engine/core/dom/DocumentLifecycle.h
|
| index 1016182f2f7cbe7b2c0d635ea04feeabe9a35aa2..fd3026444595abbb72c886237962de0f1f4273e9 100644
|
| --- a/sky/engine/core/dom/DocumentLifecycle.h
|
| +++ b/sky/engine/core/dom/DocumentLifecycle.h
|
| @@ -54,8 +54,7 @@ public:
|
| AfterPerformLayout,
|
| LayoutClean,
|
|
|
| - InPaintInvalidation,
|
| - PaintInvalidationClean,
|
| + StyleAndLayoutClean,
|
|
|
| // Once the document starts shuting down, we cannot return
|
| // to the style/layout/rendering states.
|
| @@ -157,7 +156,7 @@ inline bool DocumentLifecycle::stateAllowsDetach() const
|
| || m_state == StyleClean
|
| || m_state == InPreLayout
|
| || m_state == LayoutClean
|
| - || m_state == PaintInvalidationClean
|
| + || m_state == StyleAndLayoutClean
|
| || m_state == Stopping;
|
| }
|
|
|
|
|