Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(531)

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_layout_algorithm.h

Issue 2456973002: [LayoutNG] Move ng_block_layout_algorithm to use constraint space builder. (Closed)
Patch Set: rebase. Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/ng_constraint_space.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() {}
};
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/ng_constraint_space.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698