Index: third_party/WebKit/Source/core/dom/custom/CustomElementsRegistry.h |
diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementsRegistry.h b/third_party/WebKit/Source/core/dom/custom/CustomElementsRegistry.h |
index 292f86bed06af745541b05496ea41a545bdde531..534215698f27f8ac49e92af95661a0629bc46ca3 100644 |
--- a/third_party/WebKit/Source/core/dom/custom/CustomElementsRegistry.h |
+++ b/third_party/WebKit/Source/core/dom/custom/CustomElementsRegistry.h |
@@ -8,6 +8,7 @@ |
#include "bindings/core/v8/ScriptWrappable.h" |
#include "core/CoreExport.h" |
#include "platform/heap/Handle.h" |
+#include "wtf/HashSet.h" |
#include "wtf/Noncopyable.h" |
#include "wtf/text/AtomicString.h" |
#include "wtf/text/AtomicStringHash.h" |
@@ -57,6 +58,9 @@ private: |
CustomElementsRegistry(const V0CustomElementRegistrationContext*); |
bool v0NameIsDefined(const AtomicString&) const; |
+ class NameIsBeingDefined; |
+ |
+ HashSet<AtomicString> m_namesBeingDefined; |
using DefinitionMap = |
HeapHashMap<AtomicString, Member<CustomElementDefinition>>; |
DefinitionMap m_definitions; |