Chromium Code Reviews| Index: Source/core/dom/Node.h |
| diff --git a/Source/core/dom/Node.h b/Source/core/dom/Node.h |
| index 72b32b3808a87b6d810816538c717a8d6fb97551..38e8479d43a49f07d43e35f0c758cc143d0f1117 100644 |
| --- a/Source/core/dom/Node.h |
| +++ b/Source/core/dom/Node.h |
| @@ -251,6 +251,8 @@ public: |
| bool isCustomElement() const { return getFlag(IsCustomElement); } |
| void setIsCustomElement(); |
| + bool isUpgradedCustomElement() const { return getFlag(IsUpgradedCustomElement); } |
| + void setIsUpgradedCustomElement(); |
| virtual bool isMediaControlElement() const { return false; } |
| virtual bool isMediaControls() const { return false; } |
| @@ -734,11 +736,12 @@ private: |
| IsInsertionPointFlag = 1 << 25, |
| IsInShadowTreeFlag = 1 << 26, |
| IsCustomElement = 1 << 27, |
| + IsUpgradedCustomElement = 1 << 28, |
|
esprehn
2013/07/04 00:54:58
I already used bit 28 with something else a day or
|
| DefaultNodeFlags = IsParsingChildrenFinishedFlag |
| }; |
| - // 4 bits remaining |
| + // 3 bits remaining |
| bool getFlag(NodeFlags mask) const { return m_nodeFlags & mask; } |
| void setFlag(bool f, NodeFlags mask) const { m_nodeFlags = (m_nodeFlags & ~mask) | (-(int32_t)f & mask); } |