| Index: Source/core/svg/SVGStyleElement.cpp
|
| diff --git a/Source/core/svg/SVGStyleElement.cpp b/Source/core/svg/SVGStyleElement.cpp
|
| index 1ae01497303c65ad195d34f76b9b4bcbf72175fc..f9fd5891b7c3eb3aefadb4a744ddbabd483291f4 100644
|
| --- a/Source/core/svg/SVGStyleElement.cpp
|
| +++ b/Source/core/svg/SVGStyleElement.cpp
|
| @@ -29,9 +29,9 @@
|
|
|
| namespace WebCore {
|
|
|
| -inline SVGStyleElement::SVGStyleElement(const QualifiedName& tagName, Document* document, bool createdByParser)
|
| +inline SVGStyleElement::SVGStyleElement(const QualifiedName& tagName, Document& document, bool createdByParser)
|
| : SVGElement(tagName, document)
|
| - , StyleElement(document, createdByParser)
|
| + , StyleElement(&document, createdByParser)
|
| , m_svgLoadEventTimer(this, &SVGElement::svgLoadEventTimerFired)
|
| {
|
| ASSERT(hasTagName(SVGNames::styleTag));
|
| @@ -43,7 +43,7 @@ SVGStyleElement::~SVGStyleElement()
|
| StyleElement::clearDocumentData(document(), this);
|
| }
|
|
|
| -PassRefPtr<SVGStyleElement> SVGStyleElement::create(const QualifiedName& tagName, Document* document, bool createdByParser)
|
| +PassRefPtr<SVGStyleElement> SVGStyleElement::create(const QualifiedName& tagName, Document& document, bool createdByParser)
|
| {
|
| return adoptRef(new SVGStyleElement(tagName, document, createdByParser));
|
| }
|
|
|