| Index: sky/engine/core/dom/DocumentLifecycle.h
|
| diff --git a/sky/engine/core/dom/DocumentLifecycle.h b/sky/engine/core/dom/DocumentLifecycle.h
|
| index 2ef2c210583335349741c2ce2776f594fb7536f6..bc84f97f4bf7c75f39ab606794902dbd3e745731 100644
|
| --- a/sky/engine/core/dom/DocumentLifecycle.h
|
| +++ b/sky/engine/core/dom/DocumentLifecycle.h
|
| @@ -55,9 +55,6 @@ public:
|
| AfterPerformLayout,
|
| LayoutClean,
|
|
|
| - InCompositingUpdate,
|
| - CompositingClean,
|
| -
|
| InPaintInvalidation,
|
| PaintInvalidationClean,
|
|
|
| @@ -149,8 +146,7 @@ inline bool DocumentLifecycle::stateAllowsTreeMutations() const
|
| // FIXME: We should not allow mutations in InPreLayout or AfterPerformLayout either,
|
| // but we need to fix MediaList listeners and plugins first.
|
| return m_state != InStyleRecalc
|
| - && m_state != InPerformLayout
|
| - && m_state != InCompositingUpdate;
|
| + && m_state != InPerformLayout;
|
| }
|
|
|
| inline bool DocumentLifecycle::stateAllowsRenderTreeMutations() const
|
| @@ -165,7 +161,6 @@ inline bool DocumentLifecycle::stateAllowsDetach() const
|
| || m_state == StyleClean
|
| || m_state == InPreLayout
|
| || m_state == LayoutClean
|
| - || m_state == CompositingClean
|
| || m_state == PaintInvalidationClean
|
| || m_state == Stopping;
|
| }
|
|
|