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 6d83e37de5c453f60eea907d260f0c83936df901..d697eb90699771930e8571f9cec81ab059a5754f 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 |
@@ -225,6 +225,9 @@ |
space_builder_->SetPercentageResolutionSize( |
NGLogicalSize(adjusted_inline_size, adjusted_block_size)); |
+ constraint_space_->SetSize( |
+ NGLogicalSize(adjusted_inline_size, adjusted_block_size)); |
+ |
content_size_ = border_and_padding_.block_start; |
builder_ = new NGFragmentBuilder(NGPhysicalFragmentBase::FragmentBox); |