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

Unified Diff: Source/core/html/parser/HTMLEntityTable.h

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 | « Source/core/html/parser/HTMLEntityParser.cpp ('k') | Source/core/html/parser/create-html-entity-table » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/parser/HTMLEntityTable.h
diff --git a/Source/core/html/parser/HTMLEntityTable.h b/Source/core/html/parser/HTMLEntityTable.h
index f0d775efee7c3ca95e55e3e148081f7b30116b36..b5cd6c4869b2f738cfd94355e1e19e7f833bf3cc 100644
--- a/Source/core/html/parser/HTMLEntityTable.h
+++ b/Source/core/html/parser/HTMLEntityTable.h
@@ -31,9 +31,9 @@
namespace WebCore {
struct HTMLEntityTableEntry {
- UChar lastCharacter() const { return entity[length - 1]; }
+ LChar lastCharacter() const { return entity[length - 1]; }
- const UChar* entity;
+ const LChar* entity;
int length;
UChar32 firstValue;
UChar32 secondValue;
« no previous file with comments | « Source/core/html/parser/HTMLEntityParser.cpp ('k') | Source/core/html/parser/create-html-entity-table » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698