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 0b98fa07e7468b6298d4efadb44e089f005257e5..26b7c64348852f28ae9d45d2720a87cc9e5c0d31 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 |
@@ -7,7 +7,6 @@ |
#include "core/layout/ng/ng_block_node.h" |
#include "core/layout/ng/ng_constraint_space.h" |
#include "core/layout/ng/ng_constraint_space_builder.h" |
-#include "core/layout/ng/ng_layout_coordinator.h" |
#include "core/layout/ng/ng_length_utils.h" |
#include "core/layout/ng/ng_physical_box_fragment.h" |
#include "core/layout/ng/ng_physical_fragment.h" |
@@ -53,10 +52,7 @@ class NGBlockLayoutAlgorithmTest |
NGBlockLayoutAlgorithm algorithm(style_.get(), first_child, space); |
- NGPhysicalFragment* fragment; |
- NGLayoutAlgorithm* not_used; |
- EXPECT_EQ(kNewFragment, algorithm.Layout(nullptr, &fragment, ¬_used)); |
- |
+ NGPhysicalFragment* fragment = algorithm.Layout(); |
return toNGPhysicalBoxFragment(fragment); |
} |