From 8e6ce5fae721e5a4caf38b0b72e1c4a0324ae55e Mon Sep 17 00:00:00 2001 From: Gaming4JC Date: Sun, 5 Jan 2020 18:15:57 -0500 Subject: Bug 1121994 - Implement adopted callback for custom elements. Tag UXP Issue #1344 --- dom/base/Element.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'dom/base/Element.cpp') diff --git a/dom/base/Element.cpp b/dom/base/Element.cpp index bc1e27ba7..9efa01439 100644 --- a/dom/base/Element.cpp +++ b/dom/base/Element.cpp @@ -2602,8 +2602,8 @@ Element::SetAttrAndNotify(int32_t aNamespaceID, (ns.IsEmpty() ? NullString() : ns) }; - nsContentUtils::EnqueueLifecycleCallback( - nsIDocument::eAttributeChanged, this, &args, definition); + nsContentUtils::EnqueueLifecycleCallback(nsIDocument::eAttributeChanged, + this, &args, nullptr, definition); } } } @@ -2867,8 +2867,8 @@ Element::UnsetAttr(int32_t aNameSpaceID, nsIAtom* aName, (ns.IsEmpty() ? NullString() : ns) }; - nsContentUtils::EnqueueLifecycleCallback( - nsIDocument::eAttributeChanged, this, &args, definition); + nsContentUtils::EnqueueLifecycleCallback(nsIDocument::eAttributeChanged, + this, &args, nullptr, definition); } } } -- cgit v1.2.3