Index: Source/core/dom/custom/CustomElement.h |
diff --git a/Source/core/dom/custom/CustomElement.h b/Source/core/dom/custom/CustomElement.h |
index d2ab54a7fce654ab8e376d4d672fb9b2047031d1..470f7a60cd7c349279d7065a7f985d409248d708 100644 |
--- a/Source/core/dom/custom/CustomElement.h |
+++ b/Source/core/dom/custom/CustomElement.h |
@@ -33,6 +33,7 @@ |
#include "core/CoreExport.h" |
#include "core/dom/custom/CustomElementDefinition.h" |
+#include "wtf/Allocator.h" |
#include "wtf/HashMap.h" |
#include "wtf/Noncopyable.h" |
#include "wtf/PassRefPtr.h" |
@@ -47,6 +48,7 @@ class Document; |
class HTMLImportChild; |
class CORE_EXPORT CustomElement { |
+ STATIC_ONLY(CustomElement); |
public: |
enum NameSet { |
EmbedderNames = 1 << 0, |
@@ -71,8 +73,6 @@ public: |
static void wasDestroyed(Element*); |
private: |
- CustomElement(); |
- |
static Vector<AtomicString>& embedderCustomElementNames(); |
}; |