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

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: Added comment 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 9714710f5e13e0b9e8f24291a8fa66cdbec20865..0df5c67d2f6d311d4df8c48a06e5b2b031ee19a1 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
@@ -362,7 +362,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_);
@@ -377,7 +377,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