| 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;
|
| }
|
|
|