#include "core/css/CSSSelectorList.h"
#include "core/dom/shadow/InsertionPoint.h"
-namespace WebCore {
+namespace blink {
class HTMLContentElement FINAL : public InsertionPoint {
public:
- static PassRefPtr<HTMLContentElement> create(Document&);
-
+ DECLARE_NODE_FACTORY(HTMLContentElement);
virtual ~HTMLContentElement();
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;
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;
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;