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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_layout_inline_items_builder.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_layout_inline_items_builder.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_layout_inline_items_builder.cc b/third_party/WebKit/Source/core/layout/ng/ng_layout_inline_items_builder.cc
index dc1c754388f5cb4a0252315d97d34042bd75007b..ceb680cf28d3a55f6350609b319d5999a5e2ec9b 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_layout_inline_items_builder.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_layout_inline_items_builder.cc
@@ -197,7 +197,8 @@ void NGLayoutInlineItemsBuilder::RemoveTrailingCollapsibleSpace(
void NGLayoutInlineItemsBuilder::AppendBidiControl(const ComputedStyle* style,
UChar ltr,
UChar rtl) {
- AppendAsOpaqueToSpaceCollapsing(style->direction() == RTL ? rtl : ltr);
+ AppendAsOpaqueToSpaceCollapsing(
+ style->direction() == TextDirection::Rtl ? rtl : ltr);
}
void NGLayoutInlineItemsBuilder::EnterBlock(const ComputedStyle* style) {

Powered by Google App Engine
This is Rietveld 408576698