| Index: third_party/WebKit/Source/core/layout/ng/ng_line_builder.cc
|
| diff --git a/third_party/WebKit/Source/core/layout/ng/ng_line_builder.cc b/third_party/WebKit/Source/core/layout/ng/ng_line_builder.cc
|
| index 82c705714f40d2614d61e8ae57b37f062257e439..6bfb2d9a5ffe6b4ffaf8044a730eb432425e8fb1 100644
|
| --- a/third_party/WebKit/Source/core/layout/ng/ng_line_builder.cc
|
| +++ b/third_party/WebKit/Source/core/layout/ng/ng_line_builder.cc
|
| @@ -267,13 +267,13 @@ void NGLineBuilder::CopyFragmentDataToLayoutBlockFlow() {
|
| run = new BidiRun(text_fragment->StartOffset() - text_offset,
|
| text_fragment->EndOffset() - text_offset,
|
| item.BidiLevel(), LineLayoutItem(layout_object));
|
| - } else {
|
| - DCHECK(layout_object->isAtomicInlineLevel());
|
| - run = new BidiRun(0, 1, item.BidiLevel(),
|
| - LineLayoutItem(layout_object));
|
| - }
|
| - bidi_runs.addRun(run);
|
| - fragments_for_bidi_runs.push_back(text_fragment);
|
| + } else {
|
| + DCHECK(layout_object->isAtomicInlineLevel());
|
| + run =
|
| + new BidiRun(0, 1, item.BidiLevel(), LineLayoutItem(layout_object));
|
| + }
|
| + bidi_runs.addRun(run);
|
| + fragments_for_bidi_runs.push_back(text_fragment);
|
| }
|
| // TODO(kojii): bidi needs to find the logical last run.
|
| bidi_runs.setLogicallyLastRun(bidi_runs.lastRun());
|
|
|