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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutInline.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/LayoutInline.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutInline.cpp b/third_party/WebKit/Source/core/layout/LayoutInline.cpp
index 5b3254c8eb8e02510ea908bbc3b55a445aa9e2af..56efd05efde8323fb4e1e40290fbf6e3ecc229af 100644
--- a/third_party/WebKit/Source/core/layout/LayoutInline.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutInline.cpp
@@ -662,10 +662,11 @@ void LayoutInline::generateCulledLineBoxRects(
logicalTop, currBox->size().width() + currBox->marginWidth(),
logicalHeight));
} else {
- yield(LayoutRect(logicalTop, currBox->inlineBoxWrapper()->y() -
- currBox->marginTop(),
- logicalHeight,
- currBox->size().height() + currBox->marginHeight()));
+ yield(LayoutRect(
+ logicalTop,
+ currBox->inlineBoxWrapper()->y() - currBox->marginTop(),
+ logicalHeight,
+ currBox->size().height() + currBox->marginHeight()));
}
}
} else if (curr->isLayoutInline()) {
@@ -1462,14 +1463,16 @@ void LayoutInline::addOutlineRectsForContinuations(
if (continuation->isInline())
continuation->addOutlineRects(
rects,
- additionalOffset + (continuation->containingBlock()->location() -
- containingBlock()->location()),
+ additionalOffset +
+ (continuation->containingBlock()->location() -
+ containingBlock()->location()),
includeBlockOverflows);
else
- continuation->addOutlineRects(
- rects, additionalOffset + (toLayoutBox(continuation)->location() -
- containingBlock()->location()),
- includeBlockOverflows);
+ continuation->addOutlineRects(rects,
+ additionalOffset +
+ (toLayoutBox(continuation)->location() -
+ containingBlock()->location()),
+ includeBlockOverflows);
}
}

Powered by Google App Engine
This is Rietveld 408576698