Index: Source/core/dom/Element.cpp |
diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp |
index d828478ca65b9e530817457e51b6d8153ccf6935..8fa77e276a1f452e2905ad960a45c5db2366214f 100644 |
--- a/Source/core/dom/Element.cpp |
+++ b/Source/core/dom/Element.cpp |
@@ -2810,7 +2810,7 @@ bool Element::webkitMatchesSelector(const String& selector, ExceptionState& exce |
return false; |
} |
- SelectorQuery* selectorQuery = document().selectorQueryCache().add(selector, document(), exceptionState); |
+ SelectorQuery* selectorQuery = document().selectorQueryCache().add(AtomicString(selector), document(), exceptionState); |
if (!selectorQuery) |
return false; |
return selectorQuery->matches(*this); |