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

Unified Diff: third_party/WebKit/Source/core/html/parser/create-html-entity-table

Issue 2329463004: ABANDONED CL: Changes needed to make things compile after running rewrite_to_chrome_style tool. (Closed)
Patch Set: More fixes - things build fine at this point. Created 3 years, 8 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
Index: third_party/WebKit/Source/core/html/parser/create-html-entity-table
diff --git a/third_party/WebKit/Source/core/html/parser/create-html-entity-table b/third_party/WebKit/Source/core/html/parser/create-html-entity-table
index f0a7918a2b9fd3d7d2f263706f853378c862c5b9..33bb73c77f1e42c2913eb09ba11368cf4f62b88a 100755
--- a/third_party/WebKit/Source/core/html/parser/create-html-entity-table
+++ b/third_party/WebKit/Source/core/html/parser/create-html-entity-table
@@ -199,17 +199,17 @@ for letter in string.ascii_lowercase:
output_file.write("%d\n" % entity_count)
output_file.write("""};
-const LChar* HTMLEntityTable::entityString(const HTMLEntityTableEntry& entry)
+const LChar* HTMLEntityTable::EntityString(const HTMLEntityTableEntry& entry)
{
- return staticEntityStringStorage + entry.entityOffset;
+ return staticEntityStringStorage + entry.entity_offset;
}
-LChar HTMLEntityTableEntry::lastCharacter() const
+LChar HTMLEntityTableEntry::LastCharacter() const
{
- return HTMLEntityTable::entityString(*this)[length - 1];
+ return HTMLEntityTable::EntityString(*this)[length - 1];
}
-const HTMLEntityTableEntry* HTMLEntityTable::firstEntryStartingWith(UChar c)
+const HTMLEntityTableEntry* HTMLEntityTable::FirstEntryStartingWith(UChar c)
{
if (c >= 'A' && c <= 'Z')
return &staticEntityTable[uppercaseOffset[c - 'A']];
@@ -218,7 +218,7 @@ const HTMLEntityTableEntry* HTMLEntityTable::firstEntryStartingWith(UChar c)
return 0;
}
-const HTMLEntityTableEntry* HTMLEntityTable::lastEntryStartingWith(UChar c)
+const HTMLEntityTableEntry* HTMLEntityTable::LastEntryStartingWith(UChar c)
{
if (c >= 'A' && c <= 'Z')
return &staticEntityTable[uppercaseOffset[c - 'A' + 1]] - 1;
@@ -227,12 +227,12 @@ const HTMLEntityTableEntry* HTMLEntityTable::lastEntryStartingWith(UChar c)
return 0;
}
-const HTMLEntityTableEntry* HTMLEntityTable::firstEntry()
+const HTMLEntityTableEntry* HTMLEntityTable::FirstEntry()
{
return &staticEntityTable[0];
}
-const HTMLEntityTableEntry* HTMLEntityTable::lastEntry()
+const HTMLEntityTableEntry* HTMLEntityTable::LastEntry()
{
return &staticEntityTable[%s - 1];
}

Powered by Google App Engine
This is Rietveld 408576698