Index: Source/core/html/parser/HTMLEntityParser.cpp |
diff --git a/Source/core/html/parser/HTMLEntityParser.cpp b/Source/core/html/parser/HTMLEntityParser.cpp |
index 97cebee4383c54eb1af723fce51e58f21cd05cd6..7c1cddee1a3c45a1160f6a656d6d44cdaf2340c2 100644 |
--- a/Source/core/html/parser/HTMLEntityParser.cpp |
+++ b/Source/core/html/parser/HTMLEntityParser.cpp |
@@ -131,7 +131,7 @@ static bool consumeNamedEntity(SegmentedString& source, DecodedHTMLEntity& decod |
unconsumeCharacters(source, consumedCharacters); |
consumedCharacters.clear(); |
const int length = entitySearch.mostRecentMatch()->length; |
- const UChar* reference = entitySearch.mostRecentMatch()->entity; |
+ const LChar* reference = entitySearch.mostRecentMatch()->entity; |
for (int i = 0; i < length; ++i) { |
cc = source.currentChar(); |
ASSERT_UNUSED(reference, cc == *reference++); |