Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(42)

Unified Diff: third_party/WebKit/Source/core/dom/custom/CustomElementReactionStack.h

Issue 2592653002: [wrapper-tracing] Trace CustomElementReactionStack (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/custom/CustomElementReactionStack.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>;
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/custom/CustomElementReactionStack.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698