| Index: third_party/WebKit/Source/core/layout/LayoutText.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutText.cpp b/third_party/WebKit/Source/core/layout/LayoutText.cpp
|
| index 23ccbf0b5b6e46b4a8a9c87e885174e19b14f83d..04c4adaaccf2edd586d3fbc82fe63b08f968de77 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutText.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutText.cpp
|
| @@ -200,7 +200,8 @@ void LayoutText::styleDidChange(StyleDifference diff,
|
| }
|
|
|
| const ComputedStyle& newStyle = styleRef();
|
| - ETextTransform oldTransform = oldStyle ? oldStyle->textTransform() : TTNONE;
|
| + ETextTransform oldTransform =
|
| + oldStyle ? oldStyle->textTransform() : ETextTransform::None;
|
| ETextSecurity oldSecurity = oldStyle ? oldStyle->textSecurity() : TSNONE;
|
| if (oldTransform != newStyle.textTransform() ||
|
| oldSecurity != newStyle.textSecurity())
|
| @@ -1582,15 +1583,15 @@ void applyTextTransform(const ComputedStyle* style,
|
| return;
|
|
|
| switch (style->textTransform()) {
|
| - case TTNONE:
|
| + case ETextTransform::None:
|
| break;
|
| - case CAPITALIZE:
|
| + case ETextTransform::Capitalize:
|
| makeCapitalized(&text, previousCharacter);
|
| break;
|
| - case UPPERCASE:
|
| + case ETextTransform::Uppercase:
|
| text = text.upper(style->locale());
|
| break;
|
| - case LOWERCASE:
|
| + case ETextTransform::Lowercase:
|
| text = text.lower(style->locale());
|
| break;
|
| }
|
|
|