Index: third_party/WebKit/Source/platform/text/DecodeEscapeSequences.h |
diff --git a/third_party/WebKit/Source/platform/text/DecodeEscapeSequences.h b/third_party/WebKit/Source/platform/text/DecodeEscapeSequences.h |
index ecde700a679fbe4570515efc0d7efb1c251b0f2a..348a7bb2056ca608e09322bd8323de589ae350e6 100644 |
--- a/third_party/WebKit/Source/platform/text/DecodeEscapeSequences.h |
+++ b/third_party/WebKit/Source/platform/text/DecodeEscapeSequences.h |
@@ -31,6 +31,7 @@ |
#define DecodeEscapeSequences_h |
#include "wtf/ASCIICType.h" |
+#include "wtf/Allocator.h" |
#include "wtf/Assertions.h" |
#include "wtf/text/StringBuilder.h" |
#include "wtf/text/TextEncoding.h" |
@@ -39,6 +40,7 @@ namespace blink { |
// See <http://en.wikipedia.org/wiki/Percent-encoding#Non-standard_implementations>. |
struct Unicode16BitEscapeSequence { |
+ STATIC_ONLY(Unicode16BitEscapeSequence); |
enum { sequenceSize = 6 }; // e.g. %u26C4 |
static size_t findInString(const String& string, size_t startPosition) { return string.find("%u", startPosition); } |
static size_t findEndOfRun(const String& string, size_t startPosition, size_t endPosition) |