Index: third_party/WebKit/Source/core/layout/LayoutObject.h |
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.h b/third_party/WebKit/Source/core/layout/LayoutObject.h |
index 5aafc6c425974d05737258d9b7694d29a1268e14..6b5c3a1fb6ecc0f55227e14ecf8b74ab40daecee 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutObject.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.h |
@@ -1361,6 +1361,9 @@ public: |
bool mayNeedPaintInvalidation() const { return m_bitfields.mayNeedPaintInvalidation(); } |
void setMayNeedPaintInvalidation(); |
+ bool mayNeedPaintInvalidationSubtree() const { return m_bitfields.mayNeedPaintInvalidationSubtree(); } |
+ void setMayNeedPaintInvalidationSubtree(); |
+ |
bool shouldInvalidateSelection() const { return m_bitfields.shouldInvalidateSelection(); } |
void setShouldInvalidateSelection(); |
@@ -1726,6 +1729,7 @@ private: |
, m_shouldInvalidateOverflowForPaint(false) |
, m_childShouldCheckForPaintInvalidation(false) |
, m_mayNeedPaintInvalidation(false) |
+ , m_mayNeedPaintInvalidationSubtree(false) |
, m_shouldInvalidateSelection(false) |
, m_neededLayoutBecauseOfChildren(false) |
, m_floating(false) |
@@ -1761,7 +1765,7 @@ private: |
{ |
} |
- // 32 bits have been used in the first word, and 17 in the second. |
+ // 32 bits have been used in the first word, and 18 in the second. |
// Self needs layout means that this layout object is marked for a full layout. |
// This is the default layout but it is expensive as it recomputes everything. |
@@ -1812,6 +1816,7 @@ private: |
ADD_BOOLEAN_BITFIELD(shouldInvalidateOverflowForPaint, ShouldInvalidateOverflowForPaint); // TODO(wangxianzhu): Remove for slimming paint v2. |
ADD_BOOLEAN_BITFIELD(childShouldCheckForPaintInvalidation, ChildShouldCheckForPaintInvalidation); |
ADD_BOOLEAN_BITFIELD(mayNeedPaintInvalidation, MayNeedPaintInvalidation); |
+ ADD_BOOLEAN_BITFIELD(mayNeedPaintInvalidationSubtree, MayNeedPaintInvalidationSubtree); |
ADD_BOOLEAN_BITFIELD(shouldInvalidateSelection, ShouldInvalidateSelection); // TODO(wangxianzhu): Remove for slimming paint v2. |
ADD_BOOLEAN_BITFIELD(neededLayoutBecauseOfChildren, NeededLayoutBecauseOfChildren); // TODO(wangxianzhu): Remove for slimming paint v2. |