Index: Source/core/dom/SelectorQuery.cpp |
diff --git a/Source/core/dom/SelectorQuery.cpp b/Source/core/dom/SelectorQuery.cpp |
index e368fb0bc6d7402464930868b09a3e88ea90dc92..494c08dc986bde236980c279e96c798bccdfa4e1 100644 |
--- a/Source/core/dom/SelectorQuery.cpp |
+++ b/Source/core/dom/SelectorQuery.cpp |
@@ -480,7 +480,7 @@ PassRefPtr<Element> SelectorQuery::queryFirst(Node* rootNode) const |
return m_selectors.queryFirst(rootNode); |
} |
-SelectorQuery* SelectorQueryCache::add(const AtomicString& selectors, Document* document, ExceptionState& es) |
+SelectorQuery* SelectorQueryCache::add(const AtomicString& selectors, const Document& document, ExceptionState& es) |
{ |
HashMap<AtomicString, OwnPtr<SelectorQuery> >::iterator it = m_entries.find(selectors); |
if (it != m_entries.end()) |