| 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 c490280307c12fe2a13f444cb0c219c71e25a1ca..27d7632d91f350175e1ab37e4f7fc03870bd88ec 100644
|
| --- a/third_party/WebKit/Source/core/paint/BoxBorderPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/BoxBorderPainter.cpp
|
| @@ -409,7 +409,7 @@ struct BoxBorderPainter::ComplexBorderInfo {
|
| BoxSide side = static_cast<BoxSide>(i);
|
|
|
| if (includesEdge(borderPainter.m_visibleEdgeSet, side))
|
| - sortedSides.append(side);
|
| + sortedSides.push_back(side);
|
| }
|
| DCHECK(!sortedSides.isEmpty());
|
|
|
| @@ -459,13 +459,13 @@ struct BoxBorderPainter::ComplexBorderInfo {
|
| DCHECK_GT(edgeAlpha, 0u);
|
| DCHECK_GE(edgeAlpha, currentAlpha);
|
| if (edgeAlpha != currentAlpha) {
|
| - opacityGroups.append(OpacityGroup(edgeAlpha));
|
| + opacityGroups.push_back(OpacityGroup(edgeAlpha));
|
| currentAlpha = edgeAlpha;
|
| }
|
|
|
| DCHECK(!opacityGroups.isEmpty());
|
| OpacityGroup& currentGroup = opacityGroups.back();
|
| - currentGroup.sides.append(side);
|
| + currentGroup.sides.push_back(side);
|
| currentGroup.edgeFlags |= edgeFlagForSide(side);
|
| }
|
|
|
| @@ -1005,8 +1005,8 @@ void BoxBorderPainter::drawBoxSideFromPath(GraphicsContext& graphicsContext,
|
| }
|
|
|
| DashArray lineDash;
|
| - lineDash.append(dashLength);
|
| - lineDash.append(gapLength);
|
| + lineDash.push_back(dashLength);
|
| + lineDash.push_back(gapLength);
|
| graphicsContext.setLineDash(lineDash, dashLength);
|
| }
|
|
|
|
|