Index: Source/core/dom/Element.cpp |
diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp |
index 5f7f5f287246394e7d84cb69ed2b5ff25f9c7e96..c572ef50f2d0143082cc5a289cc3515282b02f29 100644 |
--- a/Source/core/dom/Element.cpp |
+++ b/Source/core/dom/Element.cpp |
@@ -2502,7 +2502,7 @@ bool Element::webkitMatchesSelector(const String& selector, ExceptionState& es) |
return false; |
} |
- SelectorQuery* selectorQuery = document().selectorQueryCache()->add(selector, &document(), es); |
+ SelectorQuery* selectorQuery = document().selectorQueryCache()->add(selector, document(), es); |
if (!selectorQuery) |
return false; |
return selectorQuery->matches(this); |