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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutFieldset.cpp

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/LayoutFieldset.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutFieldset.cpp b/third_party/WebKit/Source/core/layout/LayoutFieldset.cpp
index 087b0fcec1517071ea7d12520f1919acb713bcef..40385b970203956c0737c66cb4ff786311754c9d 100644
--- a/third_party/WebKit/Source/core/layout/LayoutFieldset.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutFieldset.cpp
@@ -117,9 +117,10 @@ LayoutObject* LayoutFieldset::layoutSpecialExcludedChild(bool relayoutChildren,
// on the legend's margins as we want to still follow the author's cues.
// Firefox completely ignores the margins in this case which seems wrong.
legendLogicalTop = (fieldsetBorderBefore - legendLogicalHeight) / 2;
- collapsedLegendExtent = max<LayoutUnit>(
- fieldsetBorderBefore, legendLogicalTop + legendLogicalHeight +
- marginAfterForChild(*legend));
+ collapsedLegendExtent =
+ max<LayoutUnit>(fieldsetBorderBefore,
+ legendLogicalTop + legendLogicalHeight +
+ marginAfterForChild(*legend));
} else {
collapsedLegendExtent =
legendLogicalHeight + marginAfterForChild(*legend);

Powered by Google App Engine
This is Rietveld 408576698