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

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

Issue 153233002: *** DO NOT LAND *** Remove regions support, keeping a bare minimum to support "region-based"... (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 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/NamedFlowCollection.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 8b4965a07ed5cf164a655850ed5fac17583278fe..39c20df07e4971c1a8dc5ca2c062a2ef98ea9e9d 100644
--- a/Source/core/dom/Node.h
+++ b/Source/core/dom/Node.h
@@ -265,11 +265,8 @@ public:
bool isShadowRoot() const { return isDocumentFragment() && isTreeScope(); }
bool isInsertionPoint() const { return getFlag(IsInsertionPointFlag); }
- bool inNamedFlow() const { return getFlag(InNamedFlowFlag); }
bool hasCustomStyleCallbacks() const { return getFlag(HasCustomStyleCallbacksFlag); }
- bool isRegisteredWithNamedFlow() const;
-
bool hasSyntheticAttrChildNodes() const { return getFlag(HasSyntheticAttrChildNodesFlag); }
void setHasSyntheticAttrChildNodes(bool flag) { setFlag(flag, HasSyntheticAttrChildNodesFlag); }
@@ -377,9 +374,6 @@ public:
void setIsLink(bool f);
- void setInNamedFlow() { setFlag(InNamedFlowFlag); }
- void clearInNamedFlow() { clearFlag(InNamedFlowFlag); }
-
bool hasScopedHTMLStyleChild() const { return getFlag(HasScopedHTMLStyleChildFlag); }
void setHasScopedHTMLStyleChild(bool flag) { setFlag(flag, HasScopedHTMLStyleChildFlag); }
@@ -700,24 +694,23 @@ private:
HasNameOrIsEditingTextFlag = 1 << 17,
- InNamedFlowFlag = 1 << 18,
- HasSyntheticAttrChildNodesFlag = 1 << 19,
- HasCustomStyleCallbacksFlag = 1 << 20,
- HasScopedHTMLStyleChildFlag = 1 << 21,
- HasEventTargetDataFlag = 1 << 22,
- V8CollectableDuringMinorGCFlag = 1 << 23,
- IsInsertionPointFlag = 1 << 24,
- IsInShadowTreeFlag = 1 << 25,
+ HasSyntheticAttrChildNodesFlag = 1 << 18,
+ HasCustomStyleCallbacksFlag = 1 << 19,
+ HasScopedHTMLStyleChildFlag = 1 << 20,
+ HasEventTargetDataFlag = 1 << 21,
+ V8CollectableDuringMinorGCFlag = 1 << 22,
+ IsInsertionPointFlag = 1 << 23,
+ IsInShadowTreeFlag = 1 << 24,
- NotifyRendererWithIdenticalStyles = 1 << 26,
+ NotifyRendererWithIdenticalStyles = 1 << 25,
- CustomElement = 1 << 27,
- CustomElementUpgraded = 1 << 28,
+ CustomElement = 1 << 26,
+ CustomElementUpgraded = 1 << 27,
DefaultNodeFlags = IsFinishedParsingChildrenFlag | ChildNeedsStyleRecalcFlag | NeedsReattachStyleChange
};
- // 4 bits remaining.
+ // 5 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/NamedFlowCollection.cpp ('k') | Source/core/dom/Node.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698