| Index: third_party/WebKit/Source/core/layout/ng/ng_inline_break_token.cc
|
| diff --git a/third_party/WebKit/Source/core/layout/ng/ng_inline_break_token.cc b/third_party/WebKit/Source/core/layout/ng/ng_inline_break_token.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..92e40a9ec489756bc816d77d4d3585336da7abf3
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/core/layout/ng/ng_inline_break_token.cc
|
| @@ -0,0 +1,23 @@
|
| +// Copyright 2017 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "core/layout/ng/ng_inline_break_token.h"
|
| +
|
| +#include "core/layout/ng/ng_inline_node.h"
|
| +
|
| +namespace blink {
|
| +
|
| +NGInlineBreakToken::NGInlineBreakToken(NGInlineNode* node,
|
| + unsigned item_index,
|
| + unsigned text_offset)
|
| + : NGBreakToken(kInlineBreakToken, kUnfinished, node),
|
| + item_index_(item_index),
|
| + text_offset_(text_offset) {}
|
| +
|
| +NGInlineBreakToken::NGInlineBreakToken(NGLayoutInputNode* node)
|
| + : NGBreakToken(kInlineBreakToken, kFinished, node),
|
| + item_index_(0),
|
| + text_offset_(0) {}
|
| +
|
| +} // namespace blink
|
|
|