Index: Source/core/dom/custom/CustomElementException.h |
diff --git a/Source/core/dom/custom/CustomElementException.h b/Source/core/dom/custom/CustomElementException.h |
index 4364e2ac61f65455dc0b14c3ef65b020889f44a5..f3fd3fe7acd350eaf8ea438d236f464cd45061cd 100644 |
--- a/Source/core/dom/custom/CustomElementException.h |
+++ b/Source/core/dom/custom/CustomElementException.h |
@@ -31,6 +31,7 @@ |
#ifndef CustomElementException_h |
#define CustomElementException_h |
+#include "wtf/Allocator.h" |
#include "wtf/text/AtomicString.h" |
#include "wtf/text/WTFString.h" |
@@ -39,6 +40,7 @@ namespace blink { |
class ExceptionState; |
class CustomElementException { |
+ STATIC_ONLY(CustomElementException); |
public: |
enum Reason { |
CannotRegisterFromExtension, |
@@ -56,8 +58,6 @@ public: |
static void throwException(Reason, const AtomicString& type, ExceptionState&); |
private: |
- CustomElementException(); |
- |
static String preamble(const AtomicString& type); |
}; |