| Index: third_party/WebKit/Source/core/layout/ng/ng_text_layout_algorithm.cc
|
| diff --git a/third_party/WebKit/Source/core/layout/ng/ng_text_layout_algorithm.cc b/third_party/WebKit/Source/core/layout/ng/ng_text_layout_algorithm.cc
|
| index 0a2be7d7f485e59bd865b400118add3204272777..afdee65733d41fe018a68dc4b2bffe1fba9f3fa3 100644
|
| --- a/third_party/WebKit/Source/core/layout/ng/ng_text_layout_algorithm.cc
|
| +++ b/third_party/WebKit/Source/core/layout/ng/ng_text_layout_algorithm.cc
|
| @@ -86,8 +86,8 @@ void NGTextLayoutAlgorithm::CreateLine(
|
|
|
| if (!inline_box_->IsBidiEnabled()) {
|
| // If no bidi reordering, the logical order is the visual order.
|
| - DCHECK_EQ(constraint_space.Direction(), LTR);
|
| - DCHECK_EQ(items[0].Style()->direction(), LTR);
|
| + DCHECK_EQ(constraint_space.Direction(), TextDirection::Ltr);
|
| + DCHECK_EQ(items[0].Style()->direction(), TextDirection::Ltr);
|
| fragments_out->append(new NGTextFragment(
|
| constraint_space.WritingMode(), constraint_space.Direction(),
|
| text_builder.ToTextFragment(inline_box_, items.StartIndex(),
|
|
|