| Index: third_party/WebKit/Source/core/dom/custom/CustomElementReactionStack.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementReactionStack.cpp b/third_party/WebKit/Source/core/dom/custom/CustomElementReactionStack.cpp
|
| index 87bacb19b9243efe9ab48371f78fc6dfbe4b0704..b4641f05c01730103bd4eb4afa11b771e6fd7a5a 100644
|
| --- a/third_party/WebKit/Source/core/dom/custom/CustomElementReactionStack.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/custom/CustomElementReactionStack.cpp
|
| @@ -34,6 +34,12 @@ DEFINE_TRACE(CustomElementReactionStack) {
|
| visitor->trace(m_backupQueue);
|
| }
|
|
|
| +DEFINE_TRACE_WRAPPERS(CustomElementReactionStack) {
|
| + for (auto key : m_map.keys()) {
|
| + visitor->traceWrappers(key);
|
| + }
|
| +}
|
| +
|
| void CustomElementReactionStack::push() {
|
| m_stack.append(nullptr);
|
| }
|
| @@ -72,7 +78,7 @@ void CustomElementReactionStack::enqueue(Member<ElementQueue>& queue,
|
| CustomElementReactionQueue* reactions = m_map.get(element);
|
| if (!reactions) {
|
| reactions = new CustomElementReactionQueue();
|
| - m_map.add(element, reactions);
|
| + m_map.add(TraceWrapperMember<Element>(this, element), reactions);
|
| }
|
|
|
| reactions->add(reaction);
|
|
|