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

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

Issue 2772503004: [LayoutNG] Add NGInlineBreakToken and back of NGInlineLayoutAlgorithm (Closed)
Patch Set: Resolved merge conflicts Created 3 years, 9 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_break_token.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_block_break_token.h b/third_party/WebKit/Source/core/layout/ng/ng_block_break_token.h
index 9d3c8b14ddbedf7cf7bb0b3704b51d89f418d7ad..694a1809fab2602b8fe413311a5a776e311c66fc 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_block_break_token.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_block_break_token.h
@@ -21,8 +21,11 @@ class CORE_EXPORT NGBlockBreakToken : public NGBreakToken {
//
// The NGBlockBreakToken takes ownership of child_break_tokens, leaving it
// empty for the caller.
+ //
+ // The node is NGBlockNode, or any other NGLayoutInputNode that produces
+ // anonymous box.
static RefPtr<NGBlockBreakToken> create(
- NGBlockNode* node,
+ NGLayoutInputNode* node,
LayoutUnit used_block_size,
Vector<RefPtr<NGBreakToken>>& child_break_tokens) {
return adoptRef(
@@ -54,7 +57,7 @@ class CORE_EXPORT NGBlockBreakToken : public NGBreakToken {
}
private:
- NGBlockBreakToken(NGBlockNode* node,
+ NGBlockBreakToken(NGLayoutInputNode* node,
LayoutUnit used_block_size,
Vector<RefPtr<NGBreakToken>>& child_break_tokens);
« no previous file with comments | « third_party/WebKit/Source/core/layout/BUILD.gn ('k') | third_party/WebKit/Source/core/layout/ng/ng_block_break_token.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698