Chromium Code Reviews| Index: Source/core/dom/Node.h |
| diff --git a/Source/core/dom/Node.h b/Source/core/dom/Node.h |
| index 1ace0bed9880f9c022326f392a725be48933ba54..85b5cd7bc8d32dc2401e30651962b384a73532d7 100644 |
| --- a/Source/core/dom/Node.h |
| +++ b/Source/core/dom/Node.h |
| @@ -115,7 +115,6 @@ private: |
| }; |
| class Node : public EventTarget, public ScriptWrappable, public TreeShared<Node> { |
| - friend class Document; |
|
adamk
2014/01/30 01:01:23
This change looks unrelated
|
| friend class TreeScope; |
| friend class TreeScopeAdopter; |
| @@ -690,7 +689,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 +713,7 @@ private: |
| CustomElement = 1 << 27, |
| CustomElementUpgraded = 1 << 28, |
| - DefaultNodeFlags = IsParsingChildrenFinishedFlag | ChildNeedsStyleRecalcFlag | NeedsReattachStyleChange |
| + DefaultNodeFlags = IsFinishedParsingChildrenFlag | ChildNeedsStyleRecalcFlag | NeedsReattachStyleChange |
| }; |
| // 4 bits remaining. |
| @@ -782,8 +781,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>; |