Index: Source/core/dom/Node.h |
diff --git a/Source/core/dom/Node.h b/Source/core/dom/Node.h |
index 24338a14e45ed19e2864ac17a805fad0a5938c42..4f45fc7f47a41a55c7c924e0821189e45831dec9 100644 |
--- a/Source/core/dom/Node.h |
+++ b/Source/core/dom/Node.h |
@@ -517,6 +517,9 @@ public: |
bool containsIncludingShadowDOM(const Node*) const; |
bool containsIncludingHostElements(const Node*) const; |
+ // FIXME: Remove this when crbug.com/265716 cleans up contains semantics. |
+ bool bindingsContains(const Node* node) const { return containsIncludingShadowDOM(node); } |
+ |
// Used to determine whether range offsets use characters or node indices. |
virtual bool offsetInCharacters() const; |
// Number of DOM 16-bit units contained in node. Note that rendered text length can be different - e.g. because of |