| 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 7bc44845bd5caf2ddb58be576fb6ee3dc69205f7..5a2ccb8d5d3b5f53be8c6ac37918363ba526753f 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
|
| @@ -168,7 +168,9 @@ bool NGBlockLayoutAlgorithm::Layout(NGPhysicalFragment** out) {
|
|
|
| space_builder_ =
|
| new NGConstraintSpaceBuilder(constraint_space_->WritingMode());
|
| - space_builder_->SetContainerSize(
|
| + space_builder_->SetAvailableSize(
|
| + NGLogicalSize(adjusted_inline_size, adjusted_block_size));
|
| + space_builder_->SetPercentageResolutionSize(
|
| NGLogicalSize(adjusted_inline_size, adjusted_block_size));
|
|
|
| constraint_space_->SetSize(
|
|
|