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

Unified Diff: Source/core/layout/LayoutListMarker.cpp

Issue 1119663002: Making Unicode character names consistent (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase patch Created 5 years, 7 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/layout/LayoutDeprecatedFlexibleBox.cpp ('k') | Source/core/layout/LayoutText.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutListMarker.cpp
diff --git a/Source/core/layout/LayoutListMarker.cpp b/Source/core/layout/LayoutListMarker.cpp
index c850633f09739f04e61d8eec6c6abcefa3e61d51..70679f6432dab00c9930001f701ee5bf7991a1d8 100644
--- a/Source/core/layout/LayoutListMarker.cpp
+++ b/Source/core/layout/LayoutListMarker.cpp
@@ -111,7 +111,7 @@ static inline String toAlphabeticOrNumeric(numberType number, const CharacterTyp
letters[lettersSize - ++length] = sequence[numberShadow % sequenceSize];
}
if (isNegativeNumber)
- letters[lettersSize - ++length] = hyphenMinus;
+ letters[lettersSize - ++length] = hyphenMinusCharacter;
ASSERT(length <= lettersSize);
return String(&letters[lettersSize - length], length);
@@ -541,7 +541,7 @@ UChar LayoutListMarker::listMarkerSuffix(EListStyleType type, int value)
case TigrinyaErAbegede:
case TigrinyaEt:
case TigrinyaEtAbegede:
- return ethiopicPrefaceColon;
+ return ethiopicPrefaceColonCharacter;
case Armenian:
case ArabicIndic:
case Bengali:
@@ -614,9 +614,9 @@ String listMarkerText(EListStyleType type, int value)
// We use the same characters for text security.
// See LayoutText::setInternalString.
case Circle:
- return String(&whiteBullet, 1);
+ return String(&whiteBulletCharacter, 1);
case Disc:
- return String(&bullet, 1);
+ return String(&bulletCharacter, 1);
case Footnotes: {
static const UChar footnotesSymbols[4] = {
0x002A, 0x2051, 0x2020, 0x2021
@@ -626,7 +626,7 @@ String listMarkerText(EListStyleType type, int value)
case Square:
// The CSS 2.1 test suite uses U+25EE BLACK MEDIUM SMALL SQUARE
// instead, but I think this looks better.
- return String(&blackSquare, 1);
+ return String(&blackSquareCharacter, 1);
case DecimalListStyle:
return String::number(value);
« no previous file with comments | « Source/core/layout/LayoutDeprecatedFlexibleBox.cpp ('k') | Source/core/layout/LayoutText.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698