| Index: third_party/WebKit/Source/core/dom/custom/CustomElementReactionStack.h
|
| diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementReactionStack.h b/third_party/WebKit/Source/core/dom/custom/CustomElementReactionStack.h
|
| index 8245eef949fa69965dedd0fb142e1e42eb5b1b48..b4f51f48275306d94c3089e112d16ef3d668af25 100644
|
| --- a/third_party/WebKit/Source/core/dom/custom/CustomElementReactionStack.h
|
| +++ b/third_party/WebKit/Source/core/dom/custom/CustomElementReactionStack.h
|
| @@ -5,6 +5,7 @@
|
| #ifndef CustomElementReactionStack_h
|
| #define CustomElementReactionStack_h
|
|
|
| +#include "bindings/core/v8/ScriptWrappable.h"
|
| #include "core/CoreExport.h"
|
| #include "platform/heap/Handle.h"
|
| #include "wtf/Noncopyable.h"
|
| @@ -17,13 +18,15 @@ class Element;
|
|
|
| // https://html.spec.whatwg.org/multipage/scripting.html#custom-element-reactions
|
| class CORE_EXPORT CustomElementReactionStack final
|
| - : public GarbageCollected<CustomElementReactionStack> {
|
| + : public GarbageCollected<CustomElementReactionStack>,
|
| + public TraceWrapperBase {
|
| WTF_MAKE_NONCOPYABLE(CustomElementReactionStack);
|
|
|
| public:
|
| CustomElementReactionStack();
|
|
|
| DECLARE_TRACE();
|
| + DECLARE_VIRTUAL_TRACE_WRAPPERS();
|
|
|
| void push();
|
| void popInvokingReactions();
|
| @@ -37,7 +40,8 @@ class CORE_EXPORT CustomElementReactionStack final
|
| friend class CustomElementReactionStackTestSupport;
|
|
|
| using ElementReactionQueueMap =
|
| - HeapHashMap<Member<Element>, Member<CustomElementReactionQueue>>;
|
| + HeapHashMap<TraceWrapperMember<Element>,
|
| + Member<CustomElementReactionQueue>>;
|
| ElementReactionQueueMap m_map;
|
|
|
| using ElementQueue = HeapVector<Member<Element>, 1>;
|
|
|