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 30fc3021075eb433ab76089d080fee17b29e64d7..8b94f6f9805453c2cec0dd33f847e627308a555f 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 |
@@ -18,8 +18,13 @@ namespace { |
NGConstraintSpace* ConstructConstraintSpace(NGWritingMode writing_mode, |
NGDirection direction, |
NGPhysicalSize size) { |
- return new NGConstraintSpace(writing_mode, direction, |
- new NGPhysicalConstraintSpace(size)); |
+ return new NGConstraintSpace( |
+ writing_mode, direction, |
+ new NGPhysicalConstraintSpace( |
Gleb Lanbin
2016/10/31 16:33:56
may be it's time to introduce a builder for NGPhys
ikilpatrick
2016/10/31 17:00:03
Switched to builder here :)
|
+ size, /* fixed_width */ false, /* fixed_height */ false, |
+ /* width_direction_triggers_scrollbar */ false, |
+ /* height_direction_triggers_scrollbar */ false, FragmentNone, |
+ FragmentColumn, /* is_new_fc */ false)); |
} |
class NGBlockLayoutAlgorithmTest : public ::testing::Test { |