Index: Source/core/dom/Node.cpp |
diff --git a/Source/core/dom/Node.cpp b/Source/core/dom/Node.cpp |
index 3a23dd8ba9bc196c5f49bf76a3392150de971f52..a28ea51d41e712ceff1dfa4adc4a1302488b4f14 100644 |
--- a/Source/core/dom/Node.cpp |
+++ b/Source/core/dom/Node.cpp |
@@ -1147,14 +1147,6 @@ Element* Node::shadowHost() const |
return 0; |
} |
-Node* Node::deprecatedShadowAncestorNode() const |
-{ |
- if (ShadowRoot* root = containingShadowRoot()) |
- return root->host(); |
- |
- return const_cast<Node*>(this); |
-} |
- |
ShadowRoot* Node::containingShadowRoot() const |
{ |
Node& root = treeScope().rootNode(); |