| Index: Source/core/html/HTMLContentElement.h
|
| diff --git a/Source/core/html/HTMLContentElement.h b/Source/core/html/HTMLContentElement.h
|
| index f1c0fe436365748c865dfd5258dc0938575931c6..8bf924020a475a819ce9ea8065e1c0d985da1829 100644
|
| --- a/Source/core/html/HTMLContentElement.h
|
| +++ b/Source/core/html/HTMLContentElement.h
|
| @@ -44,7 +44,7 @@ public:
|
|
|
| virtual bool canAffectSelector() const OVERRIDE { return true; }
|
|
|
| - bool canSelectNode(const Vector<Node*, 32>& siblings, int nth) const;
|
| + bool canSelectNode(const WillBeHeapVector<RawPtrWillBeMember<Node>, 32>& siblings, int nth) const;
|
|
|
| const CSSSelectorList& selectorList() const;
|
| bool isSelectValid() const;
|
| @@ -57,7 +57,7 @@ private:
|
| bool validateSelect() const;
|
| void parseSelect();
|
|
|
| - bool matchSelector(const Vector<Node*, 32>& siblings, int nth) const;
|
| + bool matchSelector(const WillBeHeapVector<RawPtrWillBeMember<Node>, 32>& siblings, int nth) const;
|
|
|
| bool m_shouldParseSelect;
|
| bool m_isValidSelector;
|
| @@ -79,7 +79,7 @@ inline bool HTMLContentElement::isSelectValid() const
|
| return m_isValidSelector;
|
| }
|
|
|
| -inline bool HTMLContentElement::canSelectNode(const Vector<Node*, 32>& siblings, int nth) const
|
| +inline bool HTMLContentElement::canSelectNode(const WillBeHeapVector<RawPtrWillBeMember<Node>, 32>& siblings, int nth) const
|
| {
|
| if (m_select.isNull() || m_select.isEmpty())
|
| return true;
|
|
|