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

Unified Diff: third_party/WebKit/Source/core/paint/BoxBorderPainter.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/BoxBorderPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/BoxBorderPainter.cpp b/third_party/WebKit/Source/core/paint/BoxBorderPainter.cpp
index cb6678aeb697609998840bc524c8a6257942c15b..3608fb46485d31a8ec9c7fead7316232ef12c7ea 100644
--- a/third_party/WebKit/Source/core/paint/BoxBorderPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/BoxBorderPainter.cpp
@@ -738,9 +738,9 @@ BorderEdgeFlags BoxBorderPainter::paintOpacityGroup(
// For the last (bottom) group, we can skip the layer even in the presence of
// opacity iff it contains no adjecent edges (no in-group overdraw
// possibility).
- bool needsLayer =
- group.alpha != 255 && (includesAdjacentEdges(group.edgeFlags) ||
- (index + 1 < borderInfo.opacityGroups.size()));
+ bool needsLayer = group.alpha != 255 &&
+ (includesAdjacentEdges(group.edgeFlags) ||
+ (index + 1 < borderInfo.opacityGroups.size()));
if (needsLayer) {
const float groupOpacity = static_cast<float>(group.alpha) / 255;
@@ -892,8 +892,9 @@ bool BoxBorderPainter::mitersRequireClipping(MiterType miter1,
: miter1 == SoftMiter || miter2 == SoftMiter;
// Some styles require clipping for any type of miter.
- shouldClip = shouldClip || ((miter1 != NoMiter || miter2 != NoMiter) &&
- styleRequiresClipPolygon(style));
+ shouldClip = shouldClip ||
+ ((miter1 != NoMiter || miter2 != NoMiter) &&
+ styleRequiresClipPolygon(style));
return shouldClip;
}

Powered by Google App Engine
This is Rietveld 408576698