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

Unified Diff: third_party/WebKit/Source/core/layout/ng/layout_ng_block_flow.cc

Issue 2714803002: [LayoutNG] Allow block-flow layout to be fragmented using new approach. (Closed)
Patch Set: rebase. Created 3 years, 10 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
Index: third_party/WebKit/Source/core/layout/ng/layout_ng_block_flow.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/layout_ng_block_flow.cc b/third_party/WebKit/Source/core/layout/ng/layout_ng_block_flow.cc
index 7eb001cca76aa9e5e24e4945cd80be64794b6bc2..4005385788aeed51c6aeac71427ffbc13a50d71e 100644
--- a/third_party/WebKit/Source/core/layout/ng/layout_ng_block_flow.cc
+++ b/third_party/WebKit/Source/core/layout/ng/layout_ng_block_flow.cc
@@ -27,7 +27,8 @@ void LayoutNGBlockFlow::layoutBlock(bool relayoutChildren) {
// passes (probably FirstChild(), etc).
m_box = new NGBlockNode(this);
- RefPtr<NGLayoutResult> result = m_box->Layout(constraint_space);
+ RefPtr<NGLayoutResult> result =
+ m_box->Layout(constraint_space, /* break_token */ nullptr);
Gleb Lanbin 2017/02/24 21:51:27 make break_token optional?
ikilpatrick 2017/02/25 00:57:21 Done.
if (isOutOfFlowPositioned()) {
// In legacy layout, abspos differs from regular blocks in that abspos

Powered by Google App Engine
This is Rietveld 408576698