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

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

Issue 2632523002: [LayoutNG] Initial support for multicol, introducing NGBlockBreakToken. (Closed)
Patch Set: Created 3 years, 11 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/ng_layout_input_node.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_layout_input_node.cc b/third_party/WebKit/Source/core/layout/ng/ng_layout_input_node.cc
index 2f2e074c5015f6a98dec6210beb2ae8c97dfe4f0..43f0e86a8c6c18ddd6d24ab512c9185966c99898 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_layout_input_node.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_layout_input_node.cc
@@ -31,6 +31,7 @@ NGLayoutAlgorithm* NGLayoutInputNode::AlgorithmForInputNode(
return new NGInlineLayoutAlgorithm(style, child, constraint_space);
}
NGBlockNode* child = toNGBlockNode(block->FirstChild());
- return new NGBlockLayoutAlgorithm(style, child, constraint_space);
+ NGBreakToken* token = block->CurrentBreakToken();
+ return new NGBlockLayoutAlgorithm(style, child, constraint_space, token);
}
}

Powered by Google App Engine
This is Rietveld 408576698