Index: Source/core/svg/SVGStyleElement.h |
diff --git a/Source/core/svg/SVGStyleElement.h b/Source/core/svg/SVGStyleElement.h |
index 17f89d75d38e45f3e2141d13b3e71d8775e50163..aa43a51de403f4224c5e5b34d636c5bfeea31923 100644 |
--- a/Source/core/svg/SVGStyleElement.h |
+++ b/Source/core/svg/SVGStyleElement.h |
@@ -29,7 +29,7 @@ namespace WebCore { |
class SVGStyleElement FINAL : public SVGElement |
, public StyleElement { |
public: |
- static PassRefPtr<SVGStyleElement> create(const QualifiedName&, Document*, bool createdByParser); |
+ static PassRefPtr<SVGStyleElement> create(const QualifiedName&, Document&, bool createdByParser); |
virtual ~SVGStyleElement(); |
using StyleElement::sheet; |
@@ -47,7 +47,7 @@ public: |
void setTitle(const AtomicString&); |
private: |
- SVGStyleElement(const QualifiedName&, Document*, bool createdByParser); |
+ SVGStyleElement(const QualifiedName&, Document&, bool createdByParser); |
bool isSupportedAttribute(const QualifiedName&); |
virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERRIDE; |