CTTE: Node subclasses should take a Document by reference in their constructor (Part 8)
https://bugs.webkit.org/show_bug.cgi?id=121393
Reviewed by Andreas Kling.
Converts the following to take a Document reference:
- All of SVG
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155815 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Source/WebCore/svg/SVGFEMergeNodeElement.h b/Source/WebCore/svg/SVGFEMergeNodeElement.h
index 4bbfa35..434110f 100644
--- a/Source/WebCore/svg/SVGFEMergeNodeElement.h
+++ b/Source/WebCore/svg/SVGFEMergeNodeElement.h
@@ -29,10 +29,10 @@
class SVGFEMergeNodeElement FINAL : public SVGElement {
public:
- static PassRefPtr<SVGFEMergeNodeElement> create(const QualifiedName&, Document*);
+ static PassRefPtr<SVGFEMergeNodeElement> create(const QualifiedName&, Document&);
private:
- SVGFEMergeNodeElement(const QualifiedName&, Document*);
+ SVGFEMergeNodeElement(const QualifiedName&, Document&);
bool isSupportedAttribute(const QualifiedName&);
virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERRIDE;