summaryrefslogtreecommitdiffstats
path: root/WebCore/svg/SVGViewElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/svg/SVGViewElement.cpp')
-rw-r--r--WebCore/svg/SVGViewElement.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/WebCore/svg/SVGViewElement.cpp b/WebCore/svg/SVGViewElement.cpp
index 2b9b6cc..6a83066 100644
--- a/WebCore/svg/SVGViewElement.cpp
+++ b/WebCore/svg/SVGViewElement.cpp
@@ -32,16 +32,14 @@
namespace WebCore {
-SVGViewElement::SVGViewElement(const QualifiedName& tagName, Document* doc)
- : SVGStyledElement(tagName, doc)
- , SVGExternalResourcesRequired()
- , SVGFitToViewBox()
- , SVGZoomAndPan()
+inline SVGViewElement::SVGViewElement(const QualifiedName& tagName, Document* document)
+ : SVGStyledElement(tagName, document)
{
}
-SVGViewElement::~SVGViewElement()
+PassRefPtr<SVGViewElement> SVGViewElement::create(const QualifiedName& tagName, Document* document)
{
+ return adoptRef(new SVGViewElement(tagName, document));
}
SVGStringList* SVGViewElement::viewTarget() const