Index: Source/core/dom/Node.h |
diff --git a/Source/core/dom/Node.h b/Source/core/dom/Node.h |
index e17c0b1c0335f1a1688ef65ec5aba73c7610b0e3..36235187f71f65bc7c1a2bed859e7b98bc21723d 100644 |
--- a/Source/core/dom/Node.h |
+++ b/Source/core/dom/Node.h |
@@ -499,7 +499,7 @@ public: |
bool contains(const Node*) const; |
bool containsIncludingShadowDOM(const Node*) const; |
bool containsIncludingHostElements(const Node&) const; |
- Node* commonAncestorOverShadowBoundary(const Node&); |
+ Node* commonAncestor(const Node&, Node* (*parent)(const Node&)); |
// FIXME: Remove this when crbug.com/265716 cleans up contains semantics. |
bool bindingsContains(const Node* node) const { return containsIncludingShadowDOM(node); } |