| Index: Source/core/svg/SVGFontFaceElement.cpp
|
| diff --git a/Source/core/svg/SVGFontFaceElement.cpp b/Source/core/svg/SVGFontFaceElement.cpp
|
| index c3e4c587b9a1b40c8941afd087f37dcc9082b17d..430dfb9014a96620531783ca3469a4e3a017972f 100644
|
| --- a/Source/core/svg/SVGFontFaceElement.cpp
|
| +++ b/Source/core/svg/SVGFontFaceElement.cpp
|
| @@ -46,7 +46,7 @@ namespace WebCore {
|
|
|
| using namespace SVGNames;
|
|
|
| -inline SVGFontFaceElement::SVGFontFaceElement(const QualifiedName& tagName, Document* document)
|
| +inline SVGFontFaceElement::SVGFontFaceElement(const QualifiedName& tagName, Document& document)
|
| : SVGElement(tagName, document)
|
| , m_fontFaceRule(StyleRuleFontFace::create())
|
| , m_fontElement(0)
|
| @@ -57,7 +57,7 @@ inline SVGFontFaceElement::SVGFontFaceElement(const QualifiedName& tagName, Docu
|
| m_fontFaceRule->setProperties(styleDeclaration.release());
|
| }
|
|
|
| -PassRefPtr<SVGFontFaceElement> SVGFontFaceElement::create(const QualifiedName& tagName, Document* document)
|
| +PassRefPtr<SVGFontFaceElement> SVGFontFaceElement::create(const QualifiedName& tagName, Document& document)
|
| {
|
| return adoptRef(new SVGFontFaceElement(tagName, document));
|
| }
|
|
|