Index: third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc b/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc |
index 96ed87300191df1d8642d1ac29696a25c4143d6d..9dee7eea1b8f3428d864b4edb53f5776986cb279 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc |
@@ -596,9 +596,9 @@ void NGBlockLayoutAlgorithm::FinishCurrentChildLayout( |
if (fragment.BlockSize()) |
content_size_ = fragment.BlockSize() + logical_offset.block_offset; |
max_inline_size_ = |
- std::max(max_inline_size_, fragment.InlineSize() + |
- curr_child_margins_.InlineSum() + |
- border_and_padding_.InlineSum()); |
+ std::max(max_inline_size_, |
+ fragment.InlineSize() + curr_child_margins_.InlineSum() + |
+ border_and_padding_.InlineSum()); |
builder_->AddChild(std::move(physical_fragment), logical_offset); |
} |