Chromium Code Reviews| 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 fe20cc9e30527e4b505983631eba5fd9aeb7223d..fbb48c5fad6a69a0ab6eba7ed14fd08d31d1b49f 100644 |
| --- a/third_party/WebKit/Source/core/dom/DocumentLifecycle.h |
| +++ b/third_party/WebKit/Source/core/dom/DocumentLifecycle.h |
| @@ -67,6 +67,10 @@ public: |
| InPaintInvalidation, |
| PaintInvalidationClean, |
| + // When RuntimeEnabledFeatures::slimmingPaintV2Enabled. |
| + InCalcPaintProps, |
| + CalcPaintPropsClean, |
|
esprehn
2015/10/01 09:00:08
We don't generally abbreviate in blink, this shoul
esprehn
2015/10/01 09:05:06
I guess we use Calc and Recalc in other parts of t
|
| + |
| // When RuntimeEnabledFeatures::slimmingPaintSynchronizedPaintingEnabled |
| // (implied by slimmingPaintV2Enabled). |
| InPaint, |
| @@ -170,6 +174,7 @@ inline bool DocumentLifecycle::stateAllowsTreeMutations() const |
| return m_state != InStyleRecalc |
| && m_state != InPerformLayout |
| && m_state != InCompositingUpdate |
| + && m_state != InCalcPaintProps |
| && m_state != InPaint |
| && m_state != InCompositingForSlimmingPaintV2; |
| } |
| @@ -194,6 +199,7 @@ inline bool DocumentLifecycle::stateAllowsDetach() const |
| || m_state == LayoutClean |
| || m_state == CompositingClean |
| || m_state == PaintInvalidationClean |
| + || m_state == CalcPaintPropsClean |
| || m_state == PaintClean |
| || m_state == CompositingForSlimmingPaintV2Clean |
| || m_state == Stopping; |
| @@ -204,6 +210,7 @@ inline bool DocumentLifecycle::stateAllowsLayoutInvalidation() const |
| return m_state != InPerformLayout |
| && m_state != InCompositingUpdate |
| && m_state != InPaintInvalidation |
| + && m_state != InCalcPaintProps |
| && m_state != InPaint |
| && m_state != InCompositingForSlimmingPaintV2; |
| } |