Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / svg / SVGDefsElement.cpp
index 93d28f5..9f5c388 100644 (file)
 
 #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*)
 {