Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1216)

Unified Diff: Source/core/html/parser/HTMLEntityParser.cpp

Issue 120393003: HTMLEntityTable could use char to reduce binary size (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: For review Created 6 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/html/parser/HTMLEntityTable.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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++);
« no previous file with comments | « no previous file | Source/core/html/parser/HTMLEntityTable.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698