| 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 0ec8c4584000d27cb667b14415a2d1128bae592a..f02e80efbea11de284882059ede7e8c64e968720 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
|
| @@ -1122,23 +1122,23 @@ LayoutRect LayoutBoxModelObject::localCaretRectForEmptyElement(
|
| CaretAlignment alignment = AlignLeft;
|
|
|
| switch (currentStyle.textAlign()) {
|
| - case LEFT:
|
| - case WEBKIT_LEFT:
|
| + case ETextAlign::Left:
|
| + case ETextAlign::WebkitLeft:
|
| break;
|
| - case CENTER:
|
| - case WEBKIT_CENTER:
|
| + case ETextAlign::Center:
|
| + case ETextAlign::WebkitCenter:
|
| alignment = AlignCenter;
|
| break;
|
| - case RIGHT:
|
| - case WEBKIT_RIGHT:
|
| + case ETextAlign::Right:
|
| + case ETextAlign::WebkitRight:
|
| alignment = AlignRight;
|
| break;
|
| - case JUSTIFY:
|
| - case TASTART:
|
| + case ETextAlign::Justify:
|
| + case ETextAlign::Start:
|
| if (!currentStyle.isLeftToRightDirection())
|
| alignment = AlignRight;
|
| break;
|
| - case TAEND:
|
| + case ETextAlign::End:
|
| if (currentStyle.isLeftToRightDirection())
|
| alignment = AlignRight;
|
| break;
|
|
|