Index: third_party/WebKit/Source/core/layout/ng/ng_length_utils_test.cc |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_length_utils_test.cc b/third_party/WebKit/Source/core/layout/ng/ng_length_utils_test.cc |
index d4bfe6956b45fd1ed99b78f346d868c530cbc9b4..9e687744422e8d34e40969be677353bc3688a04e 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_length_utils_test.cc |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_length_utils_test.cc |
@@ -291,7 +291,7 @@ TEST_F(NGLengthUtilsTest, testBorders) { |
style_->setBorderRightStyle(BorderStyleSolid); |
style_->setBorderBottomStyle(BorderStyleSolid); |
style_->setBorderLeftStyle(BorderStyleSolid); |
- style_->setWritingMode(LeftToRightWritingMode); |
+ style_->setWritingMode(WritingMode::VerticalLr); |
NGBoxStrut borders = ComputeBorders(*style_); |
@@ -306,7 +306,7 @@ TEST_F(NGLengthUtilsTest, testPadding) { |
style_->setPaddingRight(Length(52, Fixed)); |
style_->setPaddingBottom(Length(Auto)); |
style_->setPaddingLeft(Length(11, Percent)); |
- style_->setWritingMode(RightToLeftWritingMode); |
+ style_->setWritingMode(WritingMode::VerticalRl); |
NGConstraintSpace* constraintSpace(ConstructConstraintSpace(200, 300)); |