diff options
author | Gaming4JC <g4jc@hyperbola.info> | 2020-01-05 18:47:29 -0500 |
---|---|---|
committer | Gaming4JC <g4jc@hyperbola.info> | 2020-01-26 15:50:31 -0500 |
commit | 2cbd6d3699a07f10e709c1408fbc65b503478a75 (patch) | |
tree | 8e98d9f870739955bb4a3ce6de4117e778da6440 /dom/base/CustomElementRegistry.cpp | |
parent | 4dda3f6039c4432a3545986ebc698a725c6c057c (diff) | |
download | UXP-2cbd6d3699a07f10e709c1408fbc65b503478a75.tar UXP-2cbd6d3699a07f10e709c1408fbc65b503478a75.tar.gz UXP-2cbd6d3699a07f10e709c1408fbc65b503478a75.tar.lz UXP-2cbd6d3699a07f10e709c1408fbc65b503478a75.tar.xz UXP-2cbd6d3699a07f10e709c1408fbc65b503478a75.zip |
Bug 1407937 - Move mDefinition from CustomElementReacion to CustomElementUpgradeReaction;
Tag UXP Issue #1344
Diffstat (limited to 'dom/base/CustomElementRegistry.cpp')
-rw-r--r-- | dom/base/CustomElementRegistry.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/dom/base/CustomElementRegistry.cpp b/dom/base/CustomElementRegistry.cpp index 7fd295201..fc6ac2877 100644 --- a/dom/base/CustomElementRegistry.cpp +++ b/dom/base/CustomElementRegistry.cpp @@ -442,8 +442,7 @@ CustomElementRegistry::EnqueueLifecycleCallback(nsIDocument::ElementCallbackType CustomElementReactionsStack* reactionsStack = docGroup->CustomElementReactionsStack(); - reactionsStack->EnqueueCallbackReaction(aCustomElement, definition, - Move(callback)); + reactionsStack->EnqueueCallbackReaction(aCustomElement, Move(callback)); } void @@ -1025,11 +1024,9 @@ CustomElementReactionsStack::EnqueueUpgradeReaction(Element* aElement, void CustomElementReactionsStack::EnqueueCallbackReaction(Element* aElement, - CustomElementDefinition* aDefinition, UniquePtr<CustomElementCallback> aCustomElementCallback) { - Enqueue(aElement, new CustomElementCallbackReaction(aDefinition, - Move(aCustomElementCallback))); + Enqueue(aElement, new CustomElementCallbackReaction(Move(aCustomElementCallback))); } void |