Chromium Code Reviews

Unified Diff: Source/core/svg/SVGCursorElement.h

Issue 23886003: Have HTMLElements / SVGElements constructors take a Document reference in argument (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix tests build Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: Source/core/svg/SVGCursorElement.h
diff --git a/Source/core/svg/SVGCursorElement.h b/Source/core/svg/SVGCursorElement.h
index 825b940b897fb748a3bb526dda57567f9a5d27cf..d983bcb48b2dc8be120744df0b3e0d71ea5b588a 100644
--- a/Source/core/svg/SVGCursorElement.h
+++ b/Source/core/svg/SVGCursorElement.h
@@ -36,7 +36,7 @@ class SVGCursorElement FINAL : public SVGElement,
public SVGExternalResourcesRequired,
public SVGURIReference {
public:
- static PassRefPtr<SVGCursorElement> create(const QualifiedName&, Document*);
+ static PassRefPtr<SVGCursorElement> create(const QualifiedName&, Document&);
virtual ~SVGCursorElement();
@@ -45,7 +45,7 @@ public:
void removeReferencedElement(SVGElement*);
private:
- SVGCursorElement(const QualifiedName&, Document*);
+ SVGCursorElement(const QualifiedName&, Document&);
virtual bool isValid() const { return SVGTests::isValid(); }

Powered by Google App Engine