Index: third_party/WebKit/Source/core/layout/ng/ng_absolute_utils.cc |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_absolute_utils.cc b/third_party/WebKit/Source/core/layout/ng/ng_absolute_utils.cc |
index 22653a09c43f3a17d3f0580f8d87f318a398fe25..98f327e0dd94a1846adfbbd94818c96176f7856b 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_absolute_utils.cc |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_absolute_utils.cc |
@@ -85,7 +85,7 @@ void ComputeAbsoluteHorizontal( |
margin_right = LayoutUnit(); |
DCHECK(child_minmax.has_value()); |
width = child_minmax->ShrinkToFit(container_size.width); |
- if (space.Direction() == TextDirection::Ltr) { |
+ if (space.Direction() == TextDirection::kLtr) { |
left = static_position.LeftPosition(container_size.width, *width, |
*margin_left, *margin_right); |
} else { |
@@ -103,7 +103,7 @@ void ComputeAbsoluteHorizontal( |
margin_right = margin_space / 2; |
} else { |
// Margins are negative. |
- if (space.Direction() == TextDirection::Ltr) { |
+ if (space.Direction() == TextDirection::kLtr) { |
margin_left = LayoutUnit(); |
margin_right = margin_space; |
} else { |
@@ -119,7 +119,7 @@ void ComputeAbsoluteHorizontal( |
// Are values overconstrained? |
if (*margin_left + *margin_right != margin_space) { |
// Relax the end. |
- if (space.Direction() == TextDirection::Ltr) |
+ if (space.Direction() == TextDirection::kLtr) |
right = *right - *margin_left + *margin_right - margin_space; |
else |
left = *left - *margin_left + *margin_right - margin_space; |
@@ -142,7 +142,7 @@ void ComputeAbsoluteHorizontal( |
} else if (!left && !right) { |
// Rule 2. |
DCHECK(width.has_value()); |
- if (space.Direction() == TextDirection::Ltr) |
+ if (space.Direction() == TextDirection::kLtr) |
left = static_position.LeftPosition(container_size.width, *width, |
*margin_left, *margin_right); |
else |