| Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.h
|
| diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.h b/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.h
|
| index 2e4899c116874c87c26a0fe5f6b0c865ba0093e4..a7b3fde91301fe8d01b555f2ed8668e08a8daf06 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.h
|
| +++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.h
|
| @@ -30,8 +30,8 @@
|
| #include "core/layout/svg/SVGMarkerData.h"
|
| #include "platform/geometry/FloatRect.h"
|
| #include "platform/transforms/AffineTransform.h"
|
| -#include "wtf/OwnPtr.h"
|
| #include "wtf/Vector.h"
|
| +#include <memory>
|
|
|
| namespace blink {
|
|
|
| @@ -131,8 +131,8 @@ private:
|
| // TODO(fmalita): the Path is now cached in SVGPath; while this additional cache is just a
|
| // shallow copy, it certainly has a complexity/state management cost (plus allocation & storage
|
| // overhead) - so we should look into removing it.
|
| - OwnPtr<Path> m_path;
|
| - mutable OwnPtr<LayoutSVGShapeRareData> m_rareData;
|
| + std::unique_ptr<Path> m_path;
|
| + mutable std::unique_ptr<LayoutSVGShapeRareData> m_rareData;
|
|
|
| bool m_needsBoundariesUpdate : 1;
|
| bool m_needsShapeUpdate : 1;
|
|
|