Bug 1184842. Allow BeforeSetAttr to preparse aValue. r=peterv

We will pass the preparsed value into AttributeWillChange.
This commit is contained in:
Robert O'Callahan
2015-08-01 17:14:06 +12:00
parent 5bde6d4aaa
commit e53ead4eb4
23 changed files with 46 additions and 23 deletions

View File

@@ -47,7 +47,7 @@ public:
int32_t aModType) const override;
virtual nsresult BeforeSetAttr(int32_t aNamespaceID, nsIAtom* aName,
const nsAttrValueOrString* aValue,
nsAttrValueOrString* aValue,
bool aNotify) override;
virtual nsresult AfterSetAttr(int32_t aNameSpaceID, nsIAtom* aName,
const nsAttrValue* aValue, bool aNotify) override;