OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "core/layout/ng/inline/ng_inline_item_result.h" | 5 #include "core/layout/ng/inline/ng_inline_item_result.h" |
6 | 6 |
7 namespace blink { | 7 namespace blink { |
8 | 8 |
9 NGInlineItemResult::NGInlineItemResult() {} | 9 NGInlineItemResult::NGInlineItemResult() {} |
10 | 10 |
11 NGInlineItemResult::NGInlineItemResult(unsigned index, | 11 NGInlineItemResult::NGInlineItemResult(unsigned index, |
12 unsigned start, | 12 unsigned start, |
13 unsigned end) | 13 unsigned end) |
14 : item_index(index), start_offset(start), end_offset(end) {} | 14 : item_index(index), |
| 15 start_offset(start), |
| 16 end_offset(end), |
| 17 no_break_opportunities_inside(false), |
| 18 prohibit_break_after(false) {} |
15 | 19 |
16 } // namespace blink | 20 } // namespace blink |
OLD | NEW |