diff options
author | Gaming4JC <g4jc@hyperbola.info> | 2020-01-05 18:15:57 -0500 |
---|---|---|
committer | Gaming4JC <g4jc@hyperbola.info> | 2020-01-26 15:50:30 -0500 |
commit | 8e6ce5fae721e5a4caf38b0b72e1c4a0324ae55e (patch) | |
tree | 1c398b6e727da3fd13829209835ede7a427eac97 /dom/base/nsContentUtils.cpp | |
parent | 6bbb9f062b63c5a920b1d240ba0d8575150dd01a (diff) | |
download | UXP-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/nsContentUtils.cpp')
-rw-r--r-- | dom/base/nsContentUtils.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dom/base/nsContentUtils.cpp b/dom/base/nsContentUtils.cpp index 76171dda0..864319b17 100644 --- a/dom/base/nsContentUtils.cpp +++ b/dom/base/nsContentUtils.cpp @@ -9676,6 +9676,7 @@ nsContentUtils::EnqueueUpgradeReaction(Element* aElement, nsContentUtils::EnqueueLifecycleCallback(nsIDocument::ElementCallbackType aType, Element* aCustomElement, LifecycleCallbackArgs* aArgs, + LifecycleAdoptedCallbackArgs* aAdoptedCallbackArgs, CustomElementDefinition* aDefinition) { // No DocGroup means no custom element reactions stack. @@ -9684,6 +9685,7 @@ nsContentUtils::EnqueueLifecycleCallback(nsIDocument::ElementCallbackType aType, } CustomElementRegistry::EnqueueLifecycleCallback(aType, aCustomElement, aArgs, + aAdoptedCallbackArgs, aDefinition); } |