| 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 1e84756575c119035d72b499d4134428c7249fc2..8e032c35361cf0478df38644ec914f9f9f7ebe4a 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();
|
|
|
| @@ -1722,6 +1725,7 @@ private:
|
| , m_shouldInvalidateOverflowForPaint(false)
|
| , m_childShouldCheckForPaintInvalidation(false)
|
| , m_mayNeedPaintInvalidation(false)
|
| + , m_mayNeedPaintInvalidationSubtree(false)
|
| , m_shouldInvalidateSelection(false)
|
| , m_neededLayoutBecauseOfChildren(false)
|
| , m_floating(false)
|
| @@ -1757,7 +1761,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.
|
| @@ -1808,6 +1812,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.
|
|
|
|
|