| Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.cpp
|
| index c3b871491be7b8da7f2f8790e0310ba08ecfd6ae..932e938c00b5740d9a0ab948c03843e6116b8d2b 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.cpp
|
| @@ -72,7 +72,7 @@ LayoutSVGShape::~LayoutSVGShape() {}
|
|
|
| void LayoutSVGShape::createPath() {
|
| if (!m_path)
|
| - m_path = wrapUnique(new Path());
|
| + m_path = makeUnique<Path>();
|
| *m_path = toSVGGeometryElement(element())->asPath();
|
| if (m_rareData.get())
|
| m_rareData->m_cachedNonScalingStrokePath.clear();
|
| @@ -333,7 +333,7 @@ float LayoutSVGShape::strokeWidth() const {
|
|
|
| LayoutSVGShapeRareData& LayoutSVGShape::ensureRareData() const {
|
| if (!m_rareData)
|
| - m_rareData = wrapUnique(new LayoutSVGShapeRareData());
|
| + m_rareData = makeUnique<LayoutSVGShapeRareData>();
|
| return *m_rareData.get();
|
| }
|
|
|
|
|