X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2FWebKit%2FSource%2Fcore%2Fsvg%2FSVGFontFaceElement.cpp;h=2c0f6f6b8331846ea414862196207573c5ffb715;hb=004985e17e624662a4c85c76a7654039dc83f028;hp=005dad643493114b16828957a76c09dc692a51fc;hpb=2f108dbacb161091e42a3479f4e171339b7e7623;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/WebKit/Source/core/svg/SVGFontFaceElement.cpp b/src/third_party/WebKit/Source/core/svg/SVGFontFaceElement.cpp index 005dad6..2c0f6f6 100644 --- a/src/third_party/WebKit/Source/core/svg/SVGFontFaceElement.cpp +++ b/src/third_party/WebKit/Source/core/svg/SVGFontFaceElement.cpp @@ -50,6 +50,7 @@ inline SVGFontFaceElement::SVGFontFaceElement(Document& document) : SVGElement(font_faceTag, document) , m_fontFaceRule(StyleRuleFontFace::create()) , m_fontElement(0) + , m_weakFactory(this) { ScriptWrappable::init(this); RefPtrWillBeRawPtr styleDeclaration = MutableStylePropertySet::create(HTMLStandardMode); @@ -351,6 +352,12 @@ void SVGFontFaceElement::childrenChanged(bool changedByParser, Node* beforeChang rebuildFontFace(); } +void SVGFontFaceElement::trace(Visitor* visitor) +{ + visitor->trace(m_fontFaceRule); + SVGElement::trace(visitor); +} + } // namespace WebCore #endif // ENABLE(SVG_FONTS)