Index: Source/core/dom/Node.cpp |
diff --git a/Source/core/dom/Node.cpp b/Source/core/dom/Node.cpp |
index 7cf67788ec5d74f369bb0315871cb385fa3f5967..0141eb182f49c83581c3ba0adb171b7015357a15 100644 |
--- a/Source/core/dom/Node.cpp |
+++ b/Source/core/dom/Node.cpp |
@@ -1388,7 +1388,7 @@ PassRefPtr<Element> Node::querySelector(const AtomicString& selectors, Exception |
return 0; |
} |
- SelectorQuery* selectorQuery = document().selectorQueryCache()->add(selectors, &document(), es); |
+ SelectorQuery* selectorQuery = document().selectorQueryCache()->add(selectors, document(), es); |
if (!selectorQuery) |
return 0; |
return selectorQuery->queryFirst(this); |
@@ -1401,7 +1401,7 @@ PassRefPtr<NodeList> Node::querySelectorAll(const AtomicString& selectors, Excep |
return 0; |
} |
- SelectorQuery* selectorQuery = document().selectorQueryCache()->add(selectors, &document(), es); |
+ SelectorQuery* selectorQuery = document().selectorQueryCache()->add(selectors, document(), es); |
if (!selectorQuery) |
return 0; |
return selectorQuery->queryAll(this); |