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

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

Issue 2632523002: [LayoutNG] Initial support for multicol, introducing NGBlockBreakToken. (Closed)
Patch Set: Add TODO. 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_block_node.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_block_node.cc b/third_party/WebKit/Source/core/layout/ng/ng_block_node.cc
index d900723c55a6bdeb11575e9989d3dfc4a8f29cf4..da6056433edb14f03ab43f58e1a0d2b80b0da18a 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_block_node.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_block_node.cc
@@ -203,6 +203,10 @@ void NGBlockNode::SetFirstChild(NGLayoutInputNode* child) {
first_child_ = child;
}
+NGBreakToken* NGBlockNode::CurrentBreakToken() const {
+ return fragment_ ? fragment_->BreakToken() : nullptr;
+}
+
DEFINE_TRACE(NGBlockNode) {
visitor->trace(layout_coordinator_);
visitor->trace(minmax_algorithm_);
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/ng_block_node.h ('k') | third_party/WebKit/Source/core/layout/ng/ng_break_token.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698