summaryrefslogtreecommitdiffstats
path: root/WebCore/svg/SVGFontFaceSrcElement.cpp
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2008-12-17 18:05:15 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2008-12-17 18:05:15 -0800
commit1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353 (patch)
tree4457a7306ea5acb43fe05bfe0973b1f7faf97ba2 /WebCore/svg/SVGFontFaceSrcElement.cpp
parent9364f22aed35e1a1e9d07c121510f80be3ab0502 (diff)
downloadexternal_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.cpp6
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();
}