| Index: third_party/WebKit/Source/core/layout/ng/inline/ng_line_box_fragment_builder.cc
|
| diff --git a/third_party/WebKit/Source/core/layout/ng/inline/ng_line_box_fragment_builder.cc b/third_party/WebKit/Source/core/layout/ng/inline/ng_line_box_fragment_builder.cc
|
| index baeab067e48f6e7641afdcb2b5b3a34988e74dd7..e972c2c052494d9204933f81ce05ad7b9c17798f 100644
|
| --- a/third_party/WebKit/Source/core/layout/ng/inline/ng_line_box_fragment_builder.cc
|
| +++ b/third_party/WebKit/Source/core/layout/ng/inline/ng_line_box_fragment_builder.cc
|
| @@ -13,10 +13,8 @@
|
|
|
| namespace blink {
|
|
|
| -NGLineBoxFragmentBuilder::NGLineBoxFragmentBuilder(
|
| - NGInlineNode* node,
|
| - const NGLineHeightMetrics& metrics)
|
| - : direction_(TextDirection::kLtr), node_(node), metrics_(metrics) {}
|
| +NGLineBoxFragmentBuilder::NGLineBoxFragmentBuilder(NGInlineNode* node)
|
| + : direction_(TextDirection::kLtr), node_(node) {}
|
|
|
| NGLineBoxFragmentBuilder& NGLineBoxFragmentBuilder::SetDirection(
|
| TextDirection direction) {
|
| @@ -51,9 +49,8 @@ void NGLineBoxFragmentBuilder::MoveChildrenInBlockDirection(LayoutUnit delta,
|
| offsets_[index].block_offset += delta;
|
| }
|
|
|
| -void NGLineBoxFragmentBuilder::UniteMetrics(
|
| - const NGLineHeightMetrics& metrics) {
|
| - metrics_.Unite(metrics);
|
| +void NGLineBoxFragmentBuilder::SetMetrics(const NGLineHeightMetrics& metrics) {
|
| + metrics_ = metrics;
|
| }
|
|
|
| void NGLineBoxFragmentBuilder::SetBreakToken(
|
|
|