#include "core/svg/SVGDefsElement.h"
-#include "SVGNames.h"
+#include "core/SVGNames.h"
#include "core/rendering/svg/RenderSVGHiddenContainer.h"
-namespace WebCore {
+namespace blink {
inline SVGDefsElement::SVGDefsElement(Document& document)
: SVGGraphicsElement(SVGNames::defsTag, document)
{
- ScriptWrappable::init(this);
}
-PassRefPtr<SVGDefsElement> SVGDefsElement::create(Document& document)
-{
- return adoptRef(new SVGDefsElement(document));
-}
+DEFINE_NODE_FACTORY(SVGDefsElement)
RenderObject* SVGDefsElement::createRenderer(RenderStyle*)
{