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

Unified Diff: Source/core/layout/shapes/Shape.cpp

Issue 1013213002: Fix template angle bracket syntax in core (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « Source/core/layout/shapes/PolygonShape.h ('k') | Source/core/loader/CrossOriginPreflightResultCache.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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),
« no previous file with comments | « Source/core/layout/shapes/PolygonShape.h ('k') | Source/core/loader/CrossOriginPreflightResultCache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698