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

Unified Diff: Source/core/dom/DocumentLifecycle.h

Issue 406743002: Make PaintInvalidation a DocumentLifecyle state (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 | « no previous file | Source/core/dom/DocumentLifecycle.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/DocumentLifecycle.h
diff --git a/Source/core/dom/DocumentLifecycle.h b/Source/core/dom/DocumentLifecycle.h
index 2272191d7c540d6fe83769a188d184c7c0162e8a..7a619361217c2ec2aea2c261d8c936573518459d 100644
--- a/Source/core/dom/DocumentLifecycle.h
+++ b/Source/core/dom/DocumentLifecycle.h
@@ -58,6 +58,9 @@ public:
InCompositingUpdate,
CompositingClean,
+ InPaintInvalidation,
+ PaintInvalidationClean,
+
// Once the document starts shuting down, we cannot return
// to the style/layout/rendering states.
Stopping,
@@ -163,6 +166,7 @@ inline bool DocumentLifecycle::stateAllowsDetach() const
|| m_state == InPreLayout
|| m_state == LayoutClean
|| m_state == CompositingClean
+ || m_state == PaintInvalidationClean
|| m_state == Stopping;
}
« no previous file with comments | « no previous file | Source/core/dom/DocumentLifecycle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698