summaryrefslogtreecommitdiffstats
path: root/WebCore/svg/SVGFontFaceElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/svg/SVGFontFaceElement.cpp')
-rw-r--r--WebCore/svg/SVGFontFaceElement.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/WebCore/svg/SVGFontFaceElement.cpp b/WebCore/svg/SVGFontFaceElement.cpp
index 0c74d08..515ce04 100644
--- a/WebCore/svg/SVGFontFaceElement.cpp
+++ b/WebCore/svg/SVGFontFaceElement.cpp
@@ -315,6 +315,7 @@ void SVGFontFaceElement::insertedIntoDocument()
{
SVGElement::insertedIntoDocument();
document()->mappedElementSheet()->append(m_fontFaceRule);
+ m_fontFaceRule->setParent(document()->mappedElementSheet());
rebuildFontFace();
}