Index: Source/core/html/parser/HTMLEntityTable.h |
diff --git a/Source/core/html/parser/HTMLEntityTable.h b/Source/core/html/parser/HTMLEntityTable.h |
index 6acc69b6013e010a63f9f732159baeec0f10b747..142e73e2ebad0d99bda6c556d56ebc8a78e5e6d4 100644 |
--- a/Source/core/html/parser/HTMLEntityTable.h |
+++ b/Source/core/html/parser/HTMLEntityTable.h |
@@ -26,12 +26,14 @@ |
#ifndef HTMLEntityTable_h |
#define HTMLEntityTable_h |
+#include "wtf/Allocator.h" |
#include "wtf/text/WTFString.h" |
namespace blink { |
// Member order to optimize packing. There will be thousands of these objects. |
struct HTMLEntityTableEntry { |
+ DISALLOW_ALLOCATION(); |
LChar lastCharacter() const; |
UChar32 firstValue; |
@@ -41,6 +43,7 @@ struct HTMLEntityTableEntry { |
}; |
class HTMLEntityTable { |
+ STATIC_ONLY(HTMLEntityTable); |
public: |
static const HTMLEntityTableEntry* firstEntry(); |
static const HTMLEntityTableEntry* lastEntry(); |