Commit ee340336 authored by Christian Biesinger's avatar Christian Biesinger Committed by Commit Bot

[layoutng] Remove some unnecessary overflow computation

ComputeOverflow already calls these functions

Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng
Change-Id: I1af510148708078689fb421a750ae8d2eb82087a
Reviewed-on: https://chromium-review.googlesource.com/c/1287249Reviewed-by: default avatarEmil A Eklund <eae@chromium.org>
Commit-Queue: Christian Biesinger <cbiesinger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#600788}
parent 5f9a4bfa
...@@ -585,11 +585,6 @@ void NGBlockNode::CopyFragmentDataToLayoutBox( ...@@ -585,11 +585,6 @@ void NGBlockNode::CopyFragmentDataToLayoutBox(
if (box_->IsLayoutBlockFlow()) { if (box_->IsLayoutBlockFlow()) {
LayoutBlockFlow* block_flow = ToLayoutBlockFlow(box_); LayoutBlockFlow* block_flow = ToLayoutBlockFlow(box_);
block_flow->UpdateIsSelfCollapsing(); block_flow->UpdateIsSelfCollapsing();
if (constraint_space.IsNewFormattingContext()) {
block_flow->AddVisualOverflowFromFloats();
block_flow->AddLayoutOverflowFromFloats();
}
} }
} }
......
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