Index: Source/core/layout/shapes/Shape.cpp |
diff --git a/Source/core/layout/shapes/Shape.cpp b/Source/core/layout/shapes/Shape.cpp |
index ab2b72984fe3c59bf74a0faa3aa50d2ab3383f70..b77405280c9f0430bd36da0cdda0d7ee76357ba2 100644 |
--- a/Source/core/layout/shapes/Shape.cpp |
+++ b/Source/core/layout/shapes/Shape.cpp |
@@ -70,7 +70,7 @@ static PassOwnPtr<Shape> createEllipseShape(const FloatPoint& center, const Floa |
return adoptPtr(new RectangleShape(FloatRect(center.x() - radii.width(), center.y() - radii.height(), radii.width()*2, radii.height()*2), radii)); |
} |
-static PassOwnPtr<Shape> createPolygonShape(PassOwnPtr<Vector<FloatPoint> > vertices, WindRule fillRule) |
+static PassOwnPtr<Shape> createPolygonShape(PassOwnPtr<Vector<FloatPoint>> vertices, WindRule fillRule) |
{ |
return adoptPtr(new PolygonShape(vertices, fillRule)); |
} |
@@ -137,7 +137,7 @@ PassOwnPtr<Shape> Shape::createShape(const BasicShape* basicShape, const LayoutS |
const Vector<Length>& values = polygon->values(); |
size_t valuesSize = values.size(); |
ASSERT(!(valuesSize % 2)); |
- OwnPtr<Vector<FloatPoint> > vertices = adoptPtr(new Vector<FloatPoint>(valuesSize / 2)); |
+ OwnPtr<Vector<FloatPoint>> vertices = adoptPtr(new Vector<FloatPoint>(valuesSize / 2)); |
for (unsigned i = 0; i < valuesSize; i += 2) { |
FloatPoint vertex( |
floatValueForLength(values.at(i), boxWidth), |