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

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: Added 2 changes in mac files 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 94113390fe3eb3e58071d9db1ec792d91af0c4ee..191fb9c6caa69e2de2f0362b3d69935196b32c80 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