Commit d84bdde2 authored by Koji Ishii's avatar Koji Ishii Committed by Commit Bot

[NGFragmentItem] Fix baseline regression

This patch fixes the baseline regression caused by r707250
(crrev.com/c/1864755).

Bug: 982194
Change-Id: Icfe40ea68764dd09ab10345915c4aebd57d8d21f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1868533Reviewed-by: default avatarIan Kilpatrick <ikilpatrick@chromium.org>
Commit-Queue: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#707609}
parent 9137b8aa
...@@ -119,7 +119,6 @@ void NGBoxFragmentBuilder::AddResult(const NGLayoutResult& child_layout_result, ...@@ -119,7 +119,6 @@ void NGBoxFragmentBuilder::AddResult(const NGLayoutResult& child_layout_result,
items_builder_->AddLine(*line, offset); items_builder_->AddLine(*line, offset);
// TODO(kojii): We probably don't need to AddChild this line, but there // TODO(kojii): We probably don't need to AddChild this line, but there
// maybe OOF objects. Investigate how to handle them. // maybe OOF objects. Investigate how to handle them.
return;
} }
} }
AddChild(fragment, offset, inline_container); AddChild(fragment, offset, inline_container);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment