| OLD | NEW | 
|---|
| (Empty) |  | 
|  | 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 
|  | 2 // Use of this source code is governed by a BSD-style license that can be | 
|  | 3 // found in the LICENSE file. | 
|  | 4 | 
|  | 5 #include "core/layout/ng/ng_block_break_token.h" | 
|  | 6 | 
|  | 7 #include "core/layout/ng/ng_block_node.h" | 
|  | 8 | 
|  | 9 namespace blink { | 
|  | 10 | 
|  | 11 NGBlockBreakToken::NGBlockBreakToken( | 
|  | 12     NGBlockNode* node, | 
|  | 13     LayoutUnit used_block_size, | 
|  | 14     HeapVector<Member<NGBreakToken>>& child_break_tokens) | 
|  | 15     : NGBreakToken(kBlockBreakToken, kUnfinished, node), | 
|  | 16       used_block_size_(used_block_size) { | 
|  | 17   child_break_tokens_.swap(child_break_tokens); | 
|  | 18 } | 
|  | 19 | 
|  | 20 NGBlockBreakToken::NGBlockBreakToken(NGBlockNode* node) | 
|  | 21     : NGBreakToken(kBlockBreakToken, kFinished, node) {} | 
|  | 22 | 
|  | 23 NGBlockBreakToken::NGBlockBreakToken(NGBlockNode* node, LayoutUnit break_offset) | 
|  | 24     : NGBreakToken(kBlockBreakToken, kUnfinished, node), | 
|  | 25       break_offset_(break_offset) {} | 
|  | 26 | 
|  | 27 }  // namespace blink | 
| OLD | NEW | 
|---|