Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(240)

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc

Issue 2701993002: DO NOT COMMIT: Results of running new (proposed) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
}

Powered by Google App Engine
This is Rietveld 408576698