summaryrefslogtreecommitdiffstats
path: root/dom/base/Element.cpp
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2020-01-05 18:15:57 -0500
committerGaming4JC <g4jc@hyperbola.info>2020-01-26 15:50:30 -0500
commit8e6ce5fae721e5a4caf38b0b72e1c4a0324ae55e (patch)
tree1c398b6e727da3fd13829209835ede7a427eac97 /dom/base/Element.cpp
parent6bbb9f062b63c5a920b1d240ba0d8575150dd01a (diff)
downloadUXP-8e6ce5fae721e5a4caf38b0b72e1c4a0324ae55e.tar
UXP-8e6ce5fae721e5a4caf38b0b72e1c4a0324ae55e.tar.gz
UXP-8e6ce5fae721e5a4caf38b0b72e1c4a0324ae55e.tar.lz
UXP-8e6ce5fae721e5a4caf38b0b72e1c4a0324ae55e.tar.xz
UXP-8e6ce5fae721e5a4caf38b0b72e1c4a0324ae55e.zip
Bug 1121994 - Implement adopted callback for custom elements.
Tag UXP Issue #1344
Diffstat (limited to 'dom/base/Element.cpp')
-rw-r--r--dom/base/Element.cpp8
1 files changed, 4 insertions, 4 deletions
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);
}
}
}