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

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

Issue 149243006: Decide on IsFinishedParsingChilden for flag name (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Bring back friend Document Created 6 years, 11 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') | no next file » | 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 1ace0bed9880f9c022326f392a725be48933ba54..8b4965a07ed5cf164a655850ed5fac17583278fe 100644
--- a/Source/core/dom/Node.h
+++ b/Source/core/dom/Node.h
@@ -690,7 +690,7 @@ private:
// These bits are used by derived classes, pulled up here so they can
// be stored in the same memory word as the Node bits above.
- IsParsingChildrenFinishedFlag = 1 << 12, // Element
+ IsFinishedParsingChildrenFlag = 1 << 12, // Element
AlreadySpellCheckedFlag = 1 << 13,
@@ -714,7 +714,7 @@ private:
CustomElement = 1 << 27,
CustomElementUpgraded = 1 << 28,
- DefaultNodeFlags = IsParsingChildrenFinishedFlag | ChildNeedsStyleRecalcFlag | NeedsReattachStyleChange
+ DefaultNodeFlags = IsFinishedParsingChildrenFlag | ChildNeedsStyleRecalcFlag | NeedsReattachStyleChange
};
// 4 bits remaining.
@@ -782,8 +782,8 @@ protected:
void markAncestorsWithChildNeedsStyleRecalc();
- bool isParsingChildrenFinished() const { return getFlag(IsParsingChildrenFinishedFlag); }
- void setIsParsingChildrenFinished(bool value) { setFlag(value, IsParsingChildrenFinishedFlag); }
+ bool isFinishedParsingChildren() const { return getFlag(IsFinishedParsingChildrenFlag); }
+ void setIsFinishedParsingChildren(bool value) { setFlag(value, IsFinishedParsingChildrenFlag); }
private:
friend class TreeShared<Node>;
« no previous file with comments | « Source/core/dom/Element.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698