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

Unified Diff: third_party/WebKit/Source/core/paint/BoxPainter.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/paint/BoxPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/BoxPainter.cpp b/third_party/WebKit/Source/core/paint/BoxPainter.cpp
index cb95f07f977df093e1c76d7b974302aa465410ca..0d6c3177e49125ab2dd9b8900995eebec1fef3c4 100644
--- a/third_party/WebKit/Source/core/paint/BoxPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/BoxPainter.cpp
@@ -212,9 +212,9 @@ void BoxPainter::paintBoxDecorationBackgroundWithRect(
bool themePainted =
boxDecorationData.hasAppearance &&
!themePainter.paint(m_layoutBox, paintInfo, snappedPaintRect);
- bool shouldPaintBackground =
- !themePainted && (!paintInfo.skipRootBackground() ||
- paintInfo.paintContainer() != &m_layoutBox);
+ bool shouldPaintBackground = !themePainted &&
+ (!paintInfo.skipRootBackground() ||
+ paintInfo.paintContainer() != &m_layoutBox);
if (shouldPaintBackground) {
paintBackground(paintInfo, paintRect, boxDecorationData.backgroundColor,
boxDecorationData.bleedAvoidance);
@@ -777,8 +777,9 @@ void BoxPainter::paintFillLayer(const LayoutBoxModelObject& obj,
GlobalPaintNormalPhase, 0);
if (box) {
const RootInlineBox& root = box->root();
- box->paint(info, LayoutPoint(scrolledPaintRect.x() - box->x(),
- scrolledPaintRect.y() - box->y()),
+ box->paint(info,
+ LayoutPoint(scrolledPaintRect.x() - box->x(),
+ scrolledPaintRect.y() - box->y()),
root.lineTop(), root.lineBottom());
} else {
// FIXME: this should only have an effect for the line box list within

Powered by Google App Engine
This is Rietveld 408576698