Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(39)

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_length_utils_test.cc

Issue 2591373003: Changed WritingMode to an enum class and renamed its members (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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));

Powered by Google App Engine
This is Rietveld 408576698