Index: third_party/WebKit/Source/core/dom/custom/CustomElementRegistry.cpp |
diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementRegistry.cpp b/third_party/WebKit/Source/core/dom/custom/CustomElementRegistry.cpp |
index 4d3cc4ae6f05aa9b8a19676f9ee52f0c2c5ebd8a..88298258b03cb1971481924fa9513b321cac1efe 100644 |
--- a/third_party/WebKit/Source/core/dom/custom/CustomElementRegistry.cpp |
+++ b/third_party/WebKit/Source/core/dom/custom/CustomElementRegistry.cpp |
@@ -18,6 +18,7 @@ |
#include "core/dom/custom/CustomElementDefinition.h" |
#include "core/dom/custom/CustomElementDefinitionBuilder.h" |
#include "core/dom/custom/CustomElementDescriptor.h" |
+#include "core/dom/custom/CustomElementReactionStack.h" |
#include "core/dom/custom/CustomElementUpgradeReaction.h" |
#include "core/dom/custom/CustomElementUpgradeSorter.h" |
#include "core/dom/custom/V0CustomElementRegistrationContext.h" |
@@ -90,6 +91,10 @@ DEFINE_TRACE(CustomElementRegistry) { |
visitor->trace(m_whenDefinedPromiseMap); |
} |
+DEFINE_TRACE_WRAPPERS(CustomElementRegistry) { |
+ visitor->traceWrappers(&CustomElementReactionStack::current()); |
+} |
+ |
CustomElementDefinition* CustomElementRegistry::define( |
ScriptState* scriptState, |
const AtomicString& name, |