Index: Source/core/html/shadow/HTMLContentElement.cpp |
diff --git a/Source/core/html/shadow/HTMLContentElement.cpp b/Source/core/html/shadow/HTMLContentElement.cpp |
index f1f8c413b61248dd25771a17ea4055955e029cfa..5b215423e7aaeec6903de82a10a345ca17ce57fa 100644 |
--- a/Source/core/html/shadow/HTMLContentElement.cpp |
+++ b/Source/core/html/shadow/HTMLContentElement.cpp |
@@ -109,7 +109,7 @@ bool HTMLContentElement::validateSelect() const |
static inline bool checkOneSelector(const CSSSelector* selector, const Vector<Node*>& siblings, int nth) |
{ |
Element* element = toElement(siblings[nth]); |
- SelectorChecker selectorChecker(&element->document(), SelectorChecker::CollectingRules); |
+ SelectorChecker selectorChecker(element->document(), SelectorChecker::CollectingRules); |
SelectorChecker::SelectorCheckingContext context(selector, element, SelectorChecker::VisitedMatchEnabled); |
ShadowDOMSiblingTraversalStrategy strategy(siblings, nth); |
PseudoId ignoreDynamicPseudo = NOPSEUDO; |