Index: Source/core/html/HTMLContentElement.cpp |
diff --git a/Source/core/html/HTMLContentElement.cpp b/Source/core/html/HTMLContentElement.cpp |
index 696a257568566b5c1601035527465e982d996fa4..5f56d5d13b1ef5c6500d1105a94d5791789e9ada 100644 |
--- a/Source/core/html/HTMLContentElement.cpp |
+++ b/Source/core/html/HTMLContentElement.cpp |
@@ -108,7 +108,7 @@ bool HTMLContentElement::validateSelect() const |
return true; |
} |
-static inline bool checkOneSelector(const CSSSelector& selector, const Vector<Node*, 32>& siblings, int nth) |
+static inline bool checkOneSelector(const CSSSelector& selector, const WillBeHeapVector<RawPtrWillBeMember<Node>, 32>& siblings, int nth) |
{ |
Element* element = toElement(siblings[nth]); |
SelectorChecker selectorChecker(element->document(), SelectorChecker::CollectingCSSRules); |
@@ -117,7 +117,7 @@ static inline bool checkOneSelector(const CSSSelector& selector, const Vector<No |
return selectorChecker.match(context, strategy) == SelectorChecker::SelectorMatches; |
} |
-bool HTMLContentElement::matchSelector(const Vector<Node*, 32>& siblings, int nth) const |
+bool HTMLContentElement::matchSelector(const WillBeHeapVector<RawPtrWillBeMember<Node>, 32>& siblings, int nth) const |
{ |
for (const CSSSelector* selector = selectorList().first(); selector; selector = CSSSelectorList::next(*selector)) { |
if (checkOneSelector(*selector, siblings, nth)) |