Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(431)

Unified Diff: sky/engine/core/dom/DocumentLifecycle.h

Issue 772673002: Fix Animations, Remove Compostior Animations. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: cleanup Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}

Powered by Google App Engine
This is Rietveld 408576698