| 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 bedd7fc158115e0e90668e7a728ae8ca0d1b6888..4552d454e055348c6e7a13071257c1ec26a243fb 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutText.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutText.cpp
|
| @@ -208,7 +208,8 @@ void LayoutText::StyleDidChange(StyleDifference diff,
|
| const ComputedStyle& new_style = StyleRef();
|
| ETextTransform old_transform =
|
| old_style ? old_style->TextTransform() : ETextTransform::kNone;
|
| - ETextSecurity old_security = old_style ? old_style->TextSecurity() : TSNONE;
|
| + ETextSecurity old_security =
|
| + old_style ? old_style->TextSecurity() : ETextSecurity::kNone;
|
| if (old_transform != new_style.TextTransform() ||
|
| old_security != new_style.TextSecurity())
|
| TransformText();
|
| @@ -1685,15 +1686,15 @@ void LayoutText::SetTextInternal(PassRefPtr<StringImpl> text) {
|
| // We use the same characters here as for list markers.
|
| // See the listMarkerText function in LayoutListMarker.cpp.
|
| switch (Style()->TextSecurity()) {
|
| - case TSNONE:
|
| + case ETextSecurity::kNone:
|
| break;
|
| - case TSCIRCLE:
|
| + case ETextSecurity::kCircle:
|
| SecureText(kWhiteBulletCharacter);
|
| break;
|
| - case TSDISC:
|
| + case ETextSecurity::kDisc:
|
| SecureText(kBulletCharacter);
|
| break;
|
| - case TSSQUARE:
|
| + case ETextSecurity::kSquare:
|
| SecureText(kBlackSquareCharacter);
|
| }
|
| }
|
|
|