| Index: third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc
|
| diff --git a/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc b/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc
|
| index 9327201da56b3c4af311799f94cb11112ad4f5b3..596d99d0f86f2ef47bb19409559c25211ea073d3 100644
|
| --- a/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc
|
| +++ b/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc
|
| @@ -25,10 +25,8 @@ TEST_F(NGBlockLayoutAlgorithmTest, FixedSize) {
|
| style_->setWidth(Length(30, Fixed));
|
| style_->setHeight(Length(40, Fixed));
|
|
|
| - NGLogicalSize container_size;
|
| - container_size.inline_size = LayoutUnit(100);
|
| - container_size.block_size = NGSizeIndefinite;
|
| - NGConstraintSpace space(container_size);
|
| + NGConstraintSpace* space = new NGConstraintSpace(
|
| + HorizontalTopBottom, NGLogicalSize(LayoutUnit(100), NGSizeIndefinite));
|
|
|
| NGBlockLayoutAlgorithm algorithm(style_, NGBoxIterator(NGBox()));
|
| NGFragment* frag = algorithm.layout(space);
|
|
|