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); |