Index: Source/core/dom/SelectorQuery.h |
diff --git a/Source/core/dom/SelectorQuery.h b/Source/core/dom/SelectorQuery.h |
index 47720b68ef482f76a96f16cccdd8c6782f5622fd..b7e3671322b91bc2b9d01b3ef77435b6c5b17259 100644 |
--- a/Source/core/dom/SelectorQuery.h |
+++ b/Source/core/dom/SelectorQuery.h |
@@ -47,6 +47,7 @@ class SelectorDataList { |
public: |
void initialize(const CSSSelectorList&); |
bool matches(Element&) const; |
+ Element* closest(Element&) const; |
PassRefPtrWillBeRawPtr<StaticElementList> queryAll(ContainerNode& rootNode) const; |
PassRefPtrWillBeRawPtr<Element> queryFirst(ContainerNode& rootNode) const; |
@@ -89,6 +90,7 @@ public: |
static PassOwnPtr<SelectorQuery> adopt(CSSSelectorList&); |
bool matches(Element&) const; |
+ Element* closest(Element&) const; |
PassRefPtrWillBeRawPtr<StaticElementList> queryAll(ContainerNode& rootNode) const; |
PassRefPtrWillBeRawPtr<Element> queryFirst(ContainerNode& rootNode) const; |
private: |