Index: Source/WebCore/svg/SVGFontFaceElement.cpp |
diff --git a/Source/WebCore/svg/SVGFontFaceElement.cpp b/Source/WebCore/svg/SVGFontFaceElement.cpp |
index 58364b8ddaa54bbee101a6d8c8d139ab7cce6dff..39e854ca9d3d23f5d59b4e6a6a59f7e114fd8fc3 100644 |
--- a/Source/WebCore/svg/SVGFontFaceElement.cpp |
+++ b/Source/WebCore/svg/SVGFontFaceElement.cpp |
@@ -53,6 +53,7 @@ inline SVGFontFaceElement::SVGFontFaceElement(const QualifiedName& tagName, Docu |
, m_fontElement(0) |
{ |
ASSERT(hasTagName(font_faceTag)); |
+ ScriptWrappable::init(this); |
RefPtr<StylePropertySet> styleDeclaration = StylePropertySet::create(CSSStrictMode); |
m_fontFaceRule->setProperties(styleDeclaration.release()); |
} |