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

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

Issue 847393003: Remove the PaintInvalidation DocumentLifeCycle states. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 months 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
« no previous file with comments | « sky/engine/core/animation/DocumentAnimations.cpp ('k') | sky/engine/core/dom/DocumentLifecycle.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « sky/engine/core/animation/DocumentAnimations.cpp ('k') | sky/engine/core/dom/DocumentLifecycle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698