#include "config.h"
#include "core/html/HTMLHeadingElement.h"
-namespace WebCore {
+namespace blink {
inline HTMLHeadingElement::HTMLHeadingElement(const QualifiedName& tagName, Document& document)
: HTMLElement(tagName, document)
{
- ScriptWrappable::init(this);
}
-PassRefPtrWillBeRawPtr<HTMLHeadingElement> HTMLHeadingElement::create(const QualifiedName& tagName, Document& document)
-{
- return adoptRefWillBeRefCountedGarbageCollected(new HTMLHeadingElement(tagName, document));
-}
+DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(HTMLHeadingElement)
}