| Index: third_party/WebKit/Source/core/paint/ObjectPainter.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/ObjectPainter.cpp b/third_party/WebKit/Source/core/paint/ObjectPainter.cpp
|
| index b2011d2eb5caf320f12a3904464a86aa0f5b8498..d51dbd3c0c76ac0868a6b0d4a12cf1335b6e4750 100644
|
| --- a/third_party/WebKit/Source/core/paint/ObjectPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/ObjectPainter.cpp
|
| @@ -135,7 +135,7 @@ void paintComplexOutline(GraphicsContext& graphicsContext,
|
| continue;
|
|
|
| edges.grow(++count);
|
| - OutlineEdgeInfo& edge = edges.last();
|
| + OutlineEdgeInfo& edge = edges.back();
|
| edge.x1 = SkScalarTruncToInt(points[0].x());
|
| edge.y1 = SkScalarTruncToInt(points[0].y());
|
| edge.x2 = SkScalarTruncToInt(points[1].x());
|
| @@ -174,7 +174,7 @@ void paintComplexOutline(GraphicsContext& graphicsContext,
|
| }
|
|
|
| DCHECK(count >= 4 && edges.size() == count);
|
| - int firstAdjacentWidth = adjustJoint(width, edges.last(), edges.first());
|
| + int firstAdjacentWidth = adjustJoint(width, edges.back(), edges.first());
|
|
|
| // The width of the angled part of starting and ending joint of the current
|
| // edge.
|
|
|