| Index: Source/core/dom/Node.cpp
|
| diff --git a/Source/core/dom/Node.cpp b/Source/core/dom/Node.cpp
|
| index e238a3a068cbb4a7aa4713f7679787bcd3e037f4..3a49e8688ce78c631d733c37962521eea593aa8e 100644
|
| --- a/Source/core/dom/Node.cpp
|
| +++ b/Source/core/dom/Node.cpp
|
| @@ -47,7 +47,6 @@
|
| #include "core/dom/NodeTraversal.h"
|
| #include "core/dom/ProcessingInstruction.h"
|
| #include "core/dom/Range.h"
|
| -#include "core/dom/SelectorQuery.h"
|
| #include "core/dom/StaticNodeList.h"
|
| #include "core/dom/TagNodeList.h"
|
| #include "core/dom/TemplateContentDocumentFragment.h"
|
| @@ -1257,32 +1256,6 @@ bool Node::inSameContainingBlockFlowElement(Node *n)
|
|
|
| // FIXME: End of obviously misplaced HTML editing functions. Try to move these out of Node.
|
|
|
| -PassRefPtr<Element> Node::querySelector(const AtomicString& selectors, ExceptionState& exceptionState)
|
| -{
|
| - if (selectors.isEmpty()) {
|
| - exceptionState.throwDOMException(SyntaxError, "The provided selector is empty.");
|
| - return 0;
|
| - }
|
| -
|
| - SelectorQuery* selectorQuery = document().selectorQueryCache().add(selectors, document(), exceptionState);
|
| - if (!selectorQuery)
|
| - return 0;
|
| - return selectorQuery->queryFirst(*this);
|
| -}
|
| -
|
| -PassRefPtr<NodeList> Node::querySelectorAll(const AtomicString& selectors, ExceptionState& exceptionState)
|
| -{
|
| - if (selectors.isEmpty()) {
|
| - exceptionState.throwDOMException(SyntaxError, "The provided selector is empty.");
|
| - return 0;
|
| - }
|
| -
|
| - SelectorQuery* selectorQuery = document().selectorQueryCache().add(selectors, document(), exceptionState);
|
| - if (!selectorQuery)
|
| - return 0;
|
| - return selectorQuery->queryAll(*this);
|
| -}
|
| -
|
| Document* Node::ownerDocument() const
|
| {
|
| Document* doc = &document();
|
|
|