mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Bug 534526 part 3. Change the ordering in nsSVGElement::UnsetAttr. r=longsonr
This commit is contained in:
parent
b12684acf8
commit
02ce03ca1b
@ -489,6 +489,10 @@ nsresult
|
||||
nsSVGElement::UnsetAttr(PRInt32 aNamespaceID, nsIAtom* aName,
|
||||
PRBool aNotify)
|
||||
{
|
||||
// XXXbz there's a bunch of redundancy here with AfterSetAttr.
|
||||
// Maybe consolidate?
|
||||
nsresult rv = nsSVGElementBase::UnsetAttr(aNamespaceID, aName, aNotify);
|
||||
|
||||
PRBool foundMatch = PR_FALSE;
|
||||
|
||||
if (aNamespaceID == kNameSpaceID_None) {
|
||||
@ -649,7 +653,7 @@ nsSVGElement::UnsetAttr(PRInt32 aNamespaceID, nsIAtom* aName,
|
||||
}
|
||||
}
|
||||
|
||||
return nsSVGElementBase::UnsetAttr(aNamespaceID, aName, aNotify);
|
||||
return rv;
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user