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

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

Issue 2555923002: Changed TextDirection to an enum class and renamed its members (Closed)
Patch Set: Rebase after reopen 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_absolute_utils_test.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_absolute_utils_test.cc b/third_party/WebKit/Source/core/layout/ng/ng_absolute_utils_test.cc
index 9ddb5021c747fb6f828436dd8ab2cc247f8d9312..1a287e79db53886377832683f69c943b9fd16cc3 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_absolute_utils_test.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_absolute_utils_test.cc
@@ -28,16 +28,16 @@ class NGAbsoluteUtilsTest : public ::testing::Test {
NGConstraintSpaceBuilder builder(kHorizontalTopBottom);
builder.SetAvailableSize(container_size_);
ltr_space_ = builder.SetWritingMode(kHorizontalTopBottom)
- .SetTextDirection(LTR)
+ .SetTextDirection(TextDirection::Ltr)
.ToConstraintSpace();
rtl_space_ = builder.SetWritingMode(kHorizontalTopBottom)
- .SetTextDirection(RTL)
+ .SetTextDirection(TextDirection::Rtl)
.ToConstraintSpace();
vertical_lr_space_ = builder.SetWritingMode(kVerticalLeftRight)
- .SetTextDirection(LTR)
+ .SetTextDirection(TextDirection::Ltr)
.ToConstraintSpace();
vertical_rl_space_ = builder.SetWritingMode(kVerticalLeftRight)
- .SetTextDirection(LTR)
+ .SetTextDirection(TextDirection::Ltr)
.ToConstraintSpace();
}

Powered by Google App Engine
This is Rietveld 408576698