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

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

Issue 2614883007: Change computed style enums to be prefixed with 'k'. (Closed)
Patch Set: Rebase on ToT. Created 3 years, 11 months 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 5f5e8671eac50b3ea783eafd640957d2cb837b8c..ab82b08a9d620f9e64d9e8aa75d5e1da9f25550e 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
@@ -344,8 +344,8 @@ TEST_F(NGLengthUtilsTest, testMargins) {
NGConstraintSpace* constraintSpace(ConstructConstraintSpace(200, 300));
- NGBoxStrut margins = ComputeMargins(*constraintSpace, *style_,
- kHorizontalTopBottom, TextDirection::Ltr);
+ NGBoxStrut margins = ComputeMargins(
+ *constraintSpace, *style_, kHorizontalTopBottom, TextDirection::kLtr);
EXPECT_EQ(LayoutUnit(20), margins.block_start);
EXPECT_EQ(LayoutUnit(52), margins.inline_end);
@@ -362,7 +362,7 @@ TEST_F(NGLengthUtilsTest, testBorders) {
style_->setBorderRightStyle(BorderStyleSolid);
style_->setBorderBottomStyle(BorderStyleSolid);
style_->setBorderLeftStyle(BorderStyleSolid);
- style_->setWritingMode(WritingMode::VerticalLr);
+ style_->setWritingMode(WritingMode::kVerticalLr);
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(WritingMode::VerticalRl);
+ style_->setWritingMode(WritingMode::kVerticalRl);
NGConstraintSpace* constraintSpace(ConstructConstraintSpace(200, 300));
@@ -397,7 +397,7 @@ TEST_F(NGLengthUtilsTest, testAutoMargins) {
builder.SetInlineSize(LayoutUnit(150));
NGPhysicalBoxFragment* physical_fragment = builder.ToBoxFragment();
NGBoxFragment* fragment = new NGBoxFragment(
- kHorizontalTopBottom, TextDirection::Ltr, physical_fragment);
+ kHorizontalTopBottom, TextDirection::kLtr, physical_fragment);
NGConstraintSpace* constraint_space(ConstructConstraintSpace(200, 300));

Powered by Google App Engine
This is Rietveld 408576698