Index: third_party/WebKit/Source/core/layout/LayoutReplaced.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutReplaced.cpp b/third_party/WebKit/Source/core/layout/LayoutReplaced.cpp |
index 68cdcc537980a019ef6815a519f68ece632a2575..9f10ae51d040d384e469528d75cff5360f3fd769 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutReplaced.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutReplaced.cpp |
@@ -301,7 +301,7 @@ void LayoutReplaced::computePositionedLogicalWidth( |
} else { |
// Use the containing block's direction rather than the parent block's |
// per CSS 2.1 reference test abspos-replaced-width-margin-000. |
- if (containerDirection == TextDirection::Ltr) { |
+ if (containerDirection == TextDirection::kLtr) { |
marginLogicalLeftAlias = LayoutUnit(); |
marginLogicalRightAlias = difference; // will be negative |
} else { |
@@ -366,7 +366,7 @@ void LayoutReplaced::computePositionedLogicalWidth( |
logicalLeftValue = valueForLength(logicalLeft, containerLogicalWidth); |
// If the containing block is right-to-left, then push the left position as |
// far to the right as possible |
- if (containerDirection == TextDirection::Rtl) { |
+ if (containerDirection == TextDirection::kRtl) { |
int totalLogicalWidth = |
(computedValues.m_extent + logicalLeftValue + logicalRightValue + |
marginLogicalLeftAlias + marginLogicalRightAlias) |