Backed out changeset 5bb0b8d757f4 (bug 974710) for m-3 test failure

This commit is contained in:
Carsten "Tomcat" Book 2014-04-16 12:44:12 +02:00
parent 94c55edbc0
commit 8f6d49c579

View File

@ -72,18 +72,15 @@ SVGMotionSMILAnimationFunction::SetAttr(nsIAtom* aAttribute,
}
} else if (aAttribute == nsGkAtoms::path) {
aResult.SetTo(aValue);
MarkStaleIfAttributeAffectsPath(aAttribute);
if (aParseResult) {
*aParseResult = NS_OK;
}
MarkStaleIfAttributeAffectsPath(aAttribute);
} else if (aAttribute == nsGkAtoms::by ||
aAttribute == nsGkAtoms::from ||
aAttribute == nsGkAtoms::to ||
aAttribute == nsGkAtoms::values) {
MarkStaleIfAttributeAffectsPath(aAttribute);
if (aParseResult) {
*aParseResult = NS_OK;
}
} else {
// Defer to superclass method
return nsSMILAnimationFunction::SetAttr(aAttribute, aValue,