| Index: third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
|
| index f2bc1ae20e51797636e1b1740a594968213efb65..b5148baeafd17ffed0c234f4316ae4fa9f2b9101 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
|
| @@ -1133,23 +1133,23 @@ LayoutRect LayoutBoxModelObject::localCaretRectForEmptyElement(
|
| CaretAlignment alignment = AlignLeft;
|
|
|
| switch (currentStyle.textAlign()) {
|
| - case ETextAlign::Left:
|
| - case ETextAlign::WebkitLeft:
|
| + case ETextAlign::kLeft:
|
| + case ETextAlign::kWebkitLeft:
|
| break;
|
| - case ETextAlign::Center:
|
| - case ETextAlign::WebkitCenter:
|
| + case ETextAlign::kCenter:
|
| + case ETextAlign::kWebkitCenter:
|
| alignment = AlignCenter;
|
| break;
|
| - case ETextAlign::Right:
|
| - case ETextAlign::WebkitRight:
|
| + case ETextAlign::kRight:
|
| + case ETextAlign::kWebkitRight:
|
| alignment = AlignRight;
|
| break;
|
| - case ETextAlign::Justify:
|
| - case ETextAlign::Start:
|
| + case ETextAlign::kJustify:
|
| + case ETextAlign::kStart:
|
| if (!currentStyle.isLeftToRightDirection())
|
| alignment = AlignRight;
|
| break;
|
| - case ETextAlign::End:
|
| + case ETextAlign::kEnd:
|
| if (currentStyle.isLeftToRightDirection())
|
| alignment = AlignRight;
|
| break;
|
|
|