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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_length_utils.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_length_utils.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_length_utils.cc b/third_party/WebKit/Source/core/layout/ng/ng_length_utils.cc
index 525d91815e4e45ee5f4fe69ea6fa507e49ede062..3952f69b8a57f8923d4c445ef9139cc6069365eb 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_length_utils.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_length_utils.cc
@@ -99,8 +99,9 @@ LayoutUnit ResolveInlineLength(
constraint_space, style,
FromPlatformWritingMode(style.getWritingMode()), style.direction());
LayoutUnit fill_available =
- std::max(LayoutUnit(), available_size - margins.InlineSum() -
- border_and_padding.InlineSum());
+ std::max(LayoutUnit(),
+ available_size - margins.InlineSum() -
+ border_and_padding.InlineSum());
value = min_and_max->ShrinkToFit(fill_available);
}
return value + border_and_padding.InlineSum();

Powered by Google App Engine
This is Rietveld 408576698