Chromium Code Reviews| Index: Source/core/rendering/RenderObject.h |
| diff --git a/Source/core/rendering/RenderObject.h b/Source/core/rendering/RenderObject.h |
| index fa7acb36c9a4b8c37af855ba674132960aa02146..7476350a5438098b4cf6613fd9ddf2e965ccfe93 100644 |
| --- a/Source/core/rendering/RenderObject.h |
| +++ b/Source/core/rendering/RenderObject.h |
| @@ -425,6 +425,8 @@ public: |
| bool hasCounterNodeMap() const { return m_bitfields.hasCounterNodeMap(); } |
| void setHasCounterNodeMap(bool hasCounterNodeMap) { m_bitfields.setHasCounterNodeMap(hasCounterNodeMap); } |
| bool everHadLayout() const { return m_bitfields.everHadLayout(); } |
| + void setHadPaintInvalidation() { m_bitfields.setHadPaintInvalidation(true); } |
| + bool hadPaintInvalidation() const { return m_bitfields.hadPaintInvalidation(); } |
| bool childrenInline() const { return m_bitfields.childrenInline(); } |
| void setChildrenInline(bool b) { m_bitfields.setChildrenInline(b); } |
| @@ -1246,6 +1248,7 @@ private: |
| , m_hasReflection(false) |
| , m_hasCounterNodeMap(false) |
| , m_everHadLayout(false) |
| + , m_hadPaintInvalidation(false) |
| , m_ancestorLineBoxDirty(false) |
| , m_layoutDidGetCalled(false) |
| , m_hasPendingResourceUpdate(false) |
| @@ -1291,6 +1294,7 @@ private: |
| ADD_BOOLEAN_BITFIELD(hasCounterNodeMap, HasCounterNodeMap); |
| ADD_BOOLEAN_BITFIELD(everHadLayout, EverHadLayout); |
| + ADD_BOOLEAN_BITFIELD(hadPaintInvalidation, HadPaintInvalidation); |
|
abarth-chromium
2014/09/02 19:34:58
I don't think we should add bits to RenderObject t
kouhei (in TOK)
2014/09/03 22:53:47
Acknowledged. I'm thinking of keeping a HashSet fo
|
| ADD_BOOLEAN_BITFIELD(ancestorLineBoxDirty, AncestorLineBoxDirty); |
| ADD_BOOLEAN_BITFIELD(layoutDidGetCalled, LayoutDidGetCalled); |