diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2008-12-17 18:05:15 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2008-12-17 18:05:15 -0800 |
commit | 1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353 (patch) | |
tree | 4457a7306ea5acb43fe05bfe0973b1f7faf97ba2 /WebCore/svg/SVGFontFaceSrcElement.cpp | |
parent | 9364f22aed35e1a1e9d07c121510f80be3ab0502 (diff) | |
download | external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.zip external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.tar.gz external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.tar.bz2 |
Code drop from //branches/cupcake/...@124589
Diffstat (limited to 'WebCore/svg/SVGFontFaceSrcElement.cpp')
-rw-r--r-- | WebCore/svg/SVGFontFaceSrcElement.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/WebCore/svg/SVGFontFaceSrcElement.cpp b/WebCore/svg/SVGFontFaceSrcElement.cpp index 0a2d69f..0d72c74 100644 --- a/WebCore/svg/SVGFontFaceSrcElement.cpp +++ b/WebCore/svg/SVGFontFaceSrcElement.cpp @@ -40,7 +40,7 @@ SVGFontFaceSrcElement::SVGFontFaceSrcElement(const QualifiedName& tagName, Docum PassRefPtr<CSSValueList> SVGFontFaceSrcElement::srcValue() const { - RefPtr<CSSValueList> list = new CSSValueList; + RefPtr<CSSValueList> list = CSSValueList::createCommaSeparated(); for (Node* child = firstChild(); child; child = child->nextSibling()) { if (child->hasTagName(font_face_uriTag)) list->append(static_cast<SVGFontFaceUriElement*>(child)->srcValue()); @@ -50,9 +50,9 @@ PassRefPtr<CSSValueList> SVGFontFaceSrcElement::srcValue() const return list; } -void SVGFontFaceSrcElement::childrenChanged(bool changedByParser) +void SVGFontFaceSrcElement::childrenChanged(bool changedByParser, Node* beforeChange, Node* afterChange, int childCountDelta) { - SVGElement::childrenChanged(changedByParser); + SVGElement::childrenChanged(changedByParser, beforeChange, afterChange, childCountDelta); if (parentNode() && parentNode()->hasTagName(font_faceTag)) static_cast<SVGFontFaceElement*>(parentNode())->rebuildFontFace(); } |