Index: Source/core/svg/SVGElement.h |
diff --git a/Source/core/svg/SVGElement.h b/Source/core/svg/SVGElement.h |
index e493ab2ce42e86aa3762b6552069de0f8d4aec99..2df07e88c169d53475f058bad74681a6c9a84ee2 100644 |
--- a/Source/core/svg/SVGElement.h |
+++ b/Source/core/svg/SVGElement.h |
@@ -48,7 +48,6 @@ void mapAttributeToCSSProperty(HashMap<StringImpl*, CSSPropertyID>* propertyName |
class SVGElement : public Element, public SVGLangSpace { |
public: |
- static PassRefPtr<SVGElement> create(const QualifiedName&, Document*); |
virtual ~SVGElement(); |
bool isOutermostSVGSVGElement() const; |
@@ -135,7 +134,7 @@ public: |
virtual bool shouldMoveToFlowThread(RenderStyle*) const OVERRIDE; |
protected: |
- SVGElement(const QualifiedName&, Document*, ConstructionType = CreateSVGElement); |
+ SVGElement(const QualifiedName&, Document&, ConstructionType = CreateSVGElement); |
virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERRIDE; |