summaryrefslogtreecommitdiffstats
path: root/WebCore/svg/SVGFontFaceElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/svg/SVGFontFaceElement.h')
-rw-r--r--WebCore/svg/SVGFontFaceElement.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/WebCore/svg/SVGFontFaceElement.h b/WebCore/svg/SVGFontFaceElement.h
index 3ee71d8..ead2e1f 100644
--- a/WebCore/svg/SVGFontFaceElement.h
+++ b/WebCore/svg/SVGFontFaceElement.h
@@ -47,7 +47,7 @@ namespace WebCore {
int descent() const;
String fontFamily() const;
- SVGFontElement* associatedFontElement() const { return m_fontElement; }
+ SVGFontElement* associatedFontElement() const;
void rebuildFontFace();
void removeFromMappedElementSheet();
@@ -63,7 +63,7 @@ namespace WebCore {
RefPtr<CSSFontFaceRule> m_fontFaceRule;
RefPtr<CSSMutableStyleDeclaration> m_styleDeclaration;
- SVGFontElement* m_fontElement;
+ RefPtr<SVGFontElement> m_fontElement;
};
} // namespace WebCore