Index: third_party/WebKit/Source/core/layout/ng/ng_layout_algorithm.h |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_layout_algorithm.h b/third_party/WebKit/Source/core/layout/ng/ng_layout_algorithm.h |
index f6a9c5370053fb1ca0b76cd8a1662b8978117369..f3a0c19cd4b74751c7c9ea321eaa15fd87bb018f 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_layout_algorithm.h |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_layout_algorithm.h |
@@ -30,10 +30,8 @@ class CORE_EXPORT NGLayoutAlgorithm |
// to be able to store state information. |
// Returns true when done; when this function returns false, it has to be |
// called again. The out parameter will only be set when this function |
- // returns true. The same constraint space has to be passed each time. |
- // TODO(layout-ng): Should we have a StartLayout function to avoid passing |
- // the same space for each Layout iteration? |
- virtual bool Layout(const NGConstraintSpace*, NGPhysicalFragment**) = 0; |
+ // returns true. |
+ virtual bool Layout(NGPhysicalFragment**) = 0; |
DEFINE_INLINE_VIRTUAL_TRACE() {} |
}; |