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

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: Try to be nicer to MSVC. Created 7 years, 5 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
« no previous file with comments | « Source/core/dom/Element.cpp ('k') | Source/core/dom/Node.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Node.h
diff --git a/Source/core/dom/Node.h b/Source/core/dom/Node.h
index eaae64f34e11fcbd7758c176cb31fe453384d293..7cb59b6d9f70d6c941dbbf8a83e3bb5098801bfb 100644
--- a/Source/core/dom/Node.h
+++ b/Source/core/dom/Node.h
@@ -254,6 +254,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; }
@@ -748,10 +750,12 @@ private:
NotifyRendererWithIdenticalStyles = 1 << 28,
+ IsUpgradedCustomElement = 1 << 29,
+
DefaultNodeFlags = IsParsingChildrenFinishedFlag
};
- // 3 bits remaining
+ // 2 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); }
« no previous file with comments | « Source/core/dom/Element.cpp ('k') | Source/core/dom/Node.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698