Index: Source/core/svg/SVGPathElement.h |
diff --git a/Source/core/svg/SVGPathElement.h b/Source/core/svg/SVGPathElement.h |
index 6e1ea502786c98cf7207fa60066792102bfaad6b..3065a0eda4dcbf5f356d703075afaffe20da18b0 100644 |
--- a/Source/core/svg/SVGPathElement.h |
+++ b/Source/core/svg/SVGPathElement.h |
@@ -55,7 +55,7 @@ class SVGPathSegListPropertyTearOff; |
class SVGPathElement FINAL : public SVGGraphicsElement, |
public SVGExternalResourcesRequired { |
public: |
- static PassRefPtr<SVGPathElement> create(const QualifiedName&, Document*); |
+ static PassRefPtr<SVGPathElement> create(const QualifiedName&, Document&); |
float getTotalLength(); |
SVGPoint getPointAtLength(float distance); |
@@ -98,7 +98,7 @@ public: |
bool isAnimValObserved() const { return m_isAnimValObserved; } |
private: |
- SVGPathElement(const QualifiedName&, Document*); |
+ SVGPathElement(const QualifiedName&, Document&); |
virtual bool isValid() const { return SVGTests::isValid(); } |
virtual bool supportsFocus() const OVERRIDE { return hasFocusEventListeners(); } |