| Index: third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc
|
| diff --git a/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc b/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc
|
| index 76cff68486a5f9dcf43829dfa63fd3b19d3bd243..c2e236ba3069ce5d3562e3706174dc25852379e4 100644
|
| --- a/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc
|
| +++ b/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc
|
| @@ -526,6 +526,8 @@ RefPtr<NGConstraintSpace> NGBlockLayoutAlgorithm::CreateConstraintSpaceForChild(
|
| if (is_new_bfc) {
|
| DCHECK(builder_.BfcOffset());
|
| space_available -= curr_bfc_offset_.block_offset;
|
| + // TODO(glebl): Check correctness of the statement below.
|
| + space_builder_.SetBfcOffset(NGLogicalOffset());
|
| }
|
| }
|
| space_builder_.SetFragmentainerSpaceAvailable(space_available);
|
|
|