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

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

Issue 1774193002: New paint invalidation using paint property tree walk (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
Index: third_party/WebKit/Source/core/dom/DocumentLifecycle.h
diff --git a/third_party/WebKit/Source/core/dom/DocumentLifecycle.h b/third_party/WebKit/Source/core/dom/DocumentLifecycle.h
index 2580dd18f16babc483685e87b3fb03ab8d560c37..b56e7258a26e48bf43941194da2623d2ff6a45d0 100644
--- a/third_party/WebKit/Source/core/dom/DocumentLifecycle.h
+++ b/third_party/WebKit/Source/core/dom/DocumentLifecycle.h
@@ -67,12 +67,10 @@ public:
InPaintInvalidation,
PaintInvalidationClean,
- // When RuntimeEnabledFeatures::slimmingPaintV2Enabled.
- InUpdatePaintProperties,
- UpdatePaintPropertiesClean,
+ // When RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled or RuntimeEnabledFeatures::slimmingPaintV2Enabled.
+ InPrePaintTreeWalk,
+ PrePaintTreeWalkClean,
- // When RuntimeEnabledFeatures::slimmingPaintSynchronizedPaintingEnabled
- // (implied by slimmingPaintV2Enabled).
InPaint,
PaintClean,
@@ -184,7 +182,7 @@ inline bool DocumentLifecycle::stateAllowsTreeMutations() const
return m_state != InStyleRecalc
&& m_state != InPerformLayout
&& m_state != InCompositingUpdate
- && m_state != InUpdatePaintProperties
+ && m_state != InPrePaintTreeWalk
&& m_state != InPaint;
}
@@ -208,7 +206,7 @@ inline bool DocumentLifecycle::stateAllowsDetach() const
|| m_state == LayoutClean
|| m_state == CompositingClean
|| m_state == PaintInvalidationClean
- || m_state == UpdatePaintPropertiesClean
+ || m_state == PrePaintTreeWalkClean
|| m_state == PaintClean
|| m_state == Stopping;
}
@@ -218,7 +216,7 @@ inline bool DocumentLifecycle::stateAllowsLayoutInvalidation() const
return m_state != InPerformLayout
&& m_state != InCompositingUpdate
&& m_state != InPaintInvalidation
- && m_state != InUpdatePaintProperties
+ && m_state != InPrePaintTreeWalk
&& m_state != InPaint;
}

Powered by Google App Engine
This is Rietveld 408576698