Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(678)

Unified Diff: Source/core/dom/Node.h

Issue 18258003: Pow __proto__, sock :unresolved, and clunk the created callback at once. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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); }

Powered by Google App Engine
This is Rietveld 408576698