Index: third_party/WebKit/Source/platform/LengthBox.cpp |
diff --git a/third_party/WebKit/Source/platform/LengthBox.cpp b/third_party/WebKit/Source/platform/LengthBox.cpp |
index a64a6891d8bb6ab2177e7e3ef0a337176efffba6..372a6a1cbb407316330bc16a2fda51e3bf103d0f 100644 |
--- a/third_party/WebKit/Source/platform/LengthBox.cpp |
+++ b/third_party/WebKit/Source/platform/LengthBox.cpp |
@@ -42,11 +42,11 @@ const Length& LengthBox::logicalRight(WritingMode writingMode) const { |
const Length& LengthBox::before(WritingMode writingMode) const { |
switch (writingMode) { |
- case TopToBottomWritingMode: |
+ case WritingMode::HorizontalTb: |
return m_top; |
- case LeftToRightWritingMode: |
+ case WritingMode::VerticalLr: |
return m_left; |
- case RightToLeftWritingMode: |
+ case WritingMode::VerticalRl: |
return m_right; |
} |
ASSERT_NOT_REACHED(); |
@@ -55,11 +55,11 @@ const Length& LengthBox::before(WritingMode writingMode) const { |
const Length& LengthBox::after(WritingMode writingMode) const { |
switch (writingMode) { |
- case TopToBottomWritingMode: |
+ case WritingMode::HorizontalTb: |
return m_bottom; |
- case LeftToRightWritingMode: |
+ case WritingMode::VerticalLr: |
return m_right; |
- case RightToLeftWritingMode: |
+ case WritingMode::VerticalRl: |
return m_left; |
} |
ASSERT_NOT_REACHED(); |