summaryrefslogtreecommitdiff
path: root/dom/html/HTMLBodyElement.h
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-04-17 05:26:58 -0400
committerMatt A. Tobin <email@mattatobin.com>2020-04-17 05:26:58 -0400
commit091d06b43b294390a96106e57a7462f6303107a3 (patch)
tree831e71266ad1a623bc0d0db5e423132cf672314e /dom/html/HTMLBodyElement.h
parent0f5dcf963a2479a61e370b6b6ffac41be1d5e120 (diff)
downloaduxp-091d06b43b294390a96106e57a7462f6303107a3.tar.gz
Bug 1363481 - Add the old attribute value as a parameter to Element::AfterSetAttr
Tag #1375
Diffstat (limited to 'dom/html/HTMLBodyElement.h')
-rw-r--r--dom/html/HTMLBodyElement.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/dom/html/HTMLBodyElement.h b/dom/html/HTMLBodyElement.h
index ad1f5d8721..6a888c71b7 100644
--- a/dom/html/HTMLBodyElement.h
+++ b/dom/html/HTMLBodyElement.h
@@ -117,7 +117,9 @@ public:
* Called when an attribute has just been changed
*/
virtual nsresult AfterSetAttr(int32_t aNameSpaceID, nsIAtom* aName,
- const nsAttrValue* aValue, bool aNotify) override;
+ const nsAttrValue* aValue,
+ const nsAttrValue* aOldValue,
+ bool aNotify) override;
protected:
virtual ~HTMLBodyElement();