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

Unified Diff: third_party/WebKit/Source/core/layout/line/RootInlineBox.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/line/RootInlineBox.cpp
diff --git a/third_party/WebKit/Source/core/layout/line/RootInlineBox.cpp b/third_party/WebKit/Source/core/layout/line/RootInlineBox.cpp
index 0927b4b821a68677684033df684baea0a99adfa2..b0ee1cb8e807f95dcd6f2d64ce599689bb9fe785 100644
--- a/third_party/WebKit/Source/core/layout/line/RootInlineBox.cpp
+++ b/third_party/WebKit/Source/core/layout/line/RootInlineBox.cpp
@@ -602,11 +602,12 @@ void RootInlineBox::ascentAndDescentForBox(
bool includeLeading = includeLeadingForBox(box);
bool setUsedFontWithLeading = false;
- if (usedFonts && !usedFonts->isEmpty() && (box->getLineLayoutItem()
- .style(isFirstLineStyle())
- ->lineHeight()
- .isNegative() &&
- includeLeading)) {
+ if (usedFonts && !usedFonts->isEmpty() &&
+ (box->getLineLayoutItem()
+ .style(isFirstLineStyle())
+ ->lineHeight()
+ .isNegative() &&
+ includeLeading)) {
usedFonts->push_back(box->getLineLayoutItem()
.style(isFirstLineStyle())
->font()

Powered by Google App Engine
This is Rietveld 408576698