| Index: sky/engine/core/dom/Node.h
|
| diff --git a/sky/engine/core/dom/Node.h b/sky/engine/core/dom/Node.h
|
| index dc661ec7fca15af704eadf10daa9fecd56267d4b..a6214d2240ab93858e6579b1481567384d5354ff 100644
|
| --- a/sky/engine/core/dom/Node.h
|
| +++ b/sky/engine/core/dom/Node.h
|
| @@ -149,8 +149,6 @@ public:
|
| virtual NodeType nodeType() const = 0;
|
| ContainerNode* parentNode() const;
|
| Element* parentElement() const;
|
| - ContainerNode* parentElementOrShadowRoot() const;
|
| - ContainerNode* parentElementOrDocumentFragment() const;
|
| Node* previousSibling() const { return m_previous; }
|
| Node* nextSibling() const { return m_next; }
|
| Node* firstChild() const;
|
| @@ -734,16 +732,6 @@ inline bool Node::shouldCallRecalcStyle(StyleRecalcChange change)
|
| return change >= Inherit || needsStyleRecalc() || childNeedsStyleRecalc();
|
| }
|
|
|
| -inline bool isTreeScopeRoot(const Node* node)
|
| -{
|
| - return !node || node->isDocumentNode() || node->isShadowRoot();
|
| -}
|
| -
|
| -inline bool isTreeScopeRoot(const Node& node)
|
| -{
|
| - return node.isDocumentNode() || node.isShadowRoot();
|
| -}
|
| -
|
| // Allow equality comparisons of Nodes by reference or pointer, interchangeably.
|
| DEFINE_COMPARISON_OPERATORS_WITH_REFERENCES_REFCOUNTED(Node)
|
|
|
|
|