Index: third_party/WebKit/Source/core/layout/ng/ng_legacy_block_layout_algorithm.cc |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_legacy_block_layout_algorithm.cc b/third_party/WebKit/Source/core/layout/ng/ng_legacy_block_layout_algorithm.cc |
index 3f4d8c630fbd3969765fee1fb50e5c77212f11d7..c19654d0b0ec32abaf9a3664a56fc7b929e85697 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_legacy_block_layout_algorithm.cc |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_legacy_block_layout_algorithm.cc |
@@ -15,12 +15,8 @@ NGLegacyBlockLayoutAlgorithm::NGLegacyBlockLayoutAlgorithm( |
block_(block), |
constraint_space_(constraint_space) {} |
-NGLayoutStatus NGLegacyBlockLayoutAlgorithm::Layout( |
- NGPhysicalFragment*, |
- NGPhysicalFragment** fragment_out, |
- NGLayoutAlgorithm**) { |
- *fragment_out = block_->RunOldLayout(*constraint_space_); |
- return kNewFragment; |
+NGPhysicalFragment* NGLegacyBlockLayoutAlgorithm::Layout() { |
+ return block_->RunOldLayout(*constraint_space_); |
} |
DEFINE_TRACE(NGLegacyBlockLayoutAlgorithm) { |