| Index: third_party/WebKit/Source/core/layout/shapes/Shape.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/shapes/Shape.cpp b/third_party/WebKit/Source/core/layout/shapes/Shape.cpp
|
| index a502cc78a92ffc939b2e6e54243aa659d7c08bfc..7484888577ba25d5bb7a94e8fdab6a5d4b1d1100 100644
|
| --- a/third_party/WebKit/Source/core/layout/shapes/Shape.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/shapes/Shape.cpp
|
| @@ -53,7 +53,7 @@ namespace blink {
|
|
|
| static std::unique_ptr<Shape> createInsetShape(const FloatRoundedRect& bounds) {
|
| ASSERT(bounds.rect().width() >= 0 && bounds.rect().height() >= 0);
|
| - return wrapUnique(new BoxShape(bounds));
|
| + return makeUnique<BoxShape>(bounds);
|
| }
|
|
|
| static std::unique_ptr<Shape> createCircleShape(const FloatPoint& center,
|
| @@ -213,7 +213,7 @@ std::unique_ptr<Shape> Shape::createShape(const BasicShape* basicShape,
|
| std::unique_ptr<Shape> Shape::createEmptyRasterShape(WritingMode writingMode,
|
| float margin) {
|
| std::unique_ptr<RasterShapeIntervals> intervals =
|
| - wrapUnique(new RasterShapeIntervals(0, 0));
|
| + makeUnique<RasterShapeIntervals>(0, 0);
|
| std::unique_ptr<RasterShape> rasterShape =
|
| wrapUnique(new RasterShape(std::move(intervals), IntSize()));
|
| rasterShape->m_writingMode = writingMode;
|
|
|