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