Index: third_party/WebKit/Source/core/layout/LayoutFieldset.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutFieldset.cpp b/third_party/WebKit/Source/core/layout/LayoutFieldset.cpp |
index c1a37a6d1242028c31ae0c498e691c89b4ced2f6..087b0fcec1517071ea7d12520f1919acb713bcef 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutFieldset.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutFieldset.cpp |
@@ -69,10 +69,10 @@ LayoutObject* LayoutFieldset::layoutSpecialExcludedChild(bool relayoutChildren, |
LayoutUnit logicalLeft; |
if (style()->isLeftToRightDirection()) { |
switch (legend->style()->textAlign()) { |
- case ETextAlign::Center: |
+ case ETextAlign::kCenter: |
logicalLeft = (logicalWidth() - logicalWidthForChild(*legend)) / 2; |
break; |
- case ETextAlign::Right: |
+ case ETextAlign::kRight: |
logicalLeft = logicalWidth() - borderEnd() - paddingEnd() - |
logicalWidthForChild(*legend); |
break; |
@@ -83,10 +83,10 @@ LayoutObject* LayoutFieldset::layoutSpecialExcludedChild(bool relayoutChildren, |
} |
} else { |
switch (legend->style()->textAlign()) { |
- case ETextAlign::Left: |
+ case ETextAlign::kLeft: |
logicalLeft = borderStart() + paddingStart(); |
break; |
- case ETextAlign::Center: { |
+ case ETextAlign::kCenter: { |
// Make sure that the extra pixel goes to the end side in RTL (since |
// it went to the end side in LTR). |
LayoutUnit centeredWidth = |