| 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 32f65ee11d237cc6bf9f1f6f254fe42d3129609c..a049d04325e2849b8ecedb9dc70ba5a42e46425b 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.cpp
|
| @@ -41,7 +41,6 @@
|
| #include "platform/geometry/FloatPoint.h"
|
| #include "platform/graphics/StrokeData.h"
|
| #include "wtf/MathExtras.h"
|
| -#include "wtf/PtrUtil.h"
|
|
|
| namespace blink {
|
|
|
| @@ -60,7 +59,7 @@ LayoutSVGShape::~LayoutSVGShape()
|
| void LayoutSVGShape::createPath()
|
| {
|
| if (!m_path)
|
| - m_path = wrapUnique(new Path());
|
| + m_path = adoptPtr(new Path());
|
| *m_path = toSVGGeometryElement(element())->asPath();
|
| if (m_rareData.get())
|
| m_rareData->m_cachedNonScalingStrokePath.clear();
|
| @@ -302,7 +301,7 @@ float LayoutSVGShape::strokeWidth() const
|
| LayoutSVGShapeRareData& LayoutSVGShape::ensureRareData() const
|
| {
|
| if (!m_rareData)
|
| - m_rareData = wrapUnique(new LayoutSVGShapeRareData());
|
| + m_rareData = adoptPtr(new LayoutSVGShapeRareData());
|
| return *m_rareData.get();
|
| }
|
|
|
|
|