summaryrefslogtreecommitdiff
path: root/Source/WebCore/svg/SVGTRefElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/svg/SVGTRefElement.cpp')
-rw-r--r--Source/WebCore/svg/SVGTRefElement.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/WebCore/svg/SVGTRefElement.cpp b/Source/WebCore/svg/SVGTRefElement.cpp
index 455e8278d..6b858f317 100644
--- a/Source/WebCore/svg/SVGTRefElement.cpp
+++ b/Source/WebCore/svg/SVGTRefElement.cpp
@@ -129,7 +129,7 @@ private:
SVGShadowText(Document* document, const String& data)
: Text(document, data)
{
- setHasCustomWillOrDidRecalcStyle();
+ setHasCustomCallbacks();
}
virtual RenderObject* createRenderer(RenderArena*, RenderStyle*);
virtual void willRecalcTextStyle(StyleChange);
@@ -200,14 +200,14 @@ bool SVGTRefElement::isSupportedAttribute(const QualifiedName& attrName)
return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName);
}
-void SVGTRefElement::parseAttribute(Attribute* attr)
+void SVGTRefElement::parseAttribute(const Attribute& attribute)
{
- if (!isSupportedAttribute(attr->name())) {
- SVGTextPositioningElement::parseAttribute(attr);
+ if (!isSupportedAttribute(attribute.name())) {
+ SVGTextPositioningElement::parseAttribute(attribute);
return;
}
- if (SVGURIReference::parseAttribute(attr)) {
+ if (SVGURIReference::parseAttribute(attribute)) {
return;
}