| Index: third_party/WebKit/Source/core/svg/SVGPathByteStream.h
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGPathByteStream.h b/third_party/WebKit/Source/core/svg/SVGPathByteStream.h
|
| index 31ac395d1a624db19d3869919c8533cb00083f12..980bc20c7350ea41d7d3bcd00b2098d55eb1e322 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGPathByteStream.h
|
| +++ b/third_party/WebKit/Source/core/svg/SVGPathByteStream.h
|
| @@ -21,8 +21,9 @@
|
| #define SVGPathByteStream_h
|
|
|
| #include "wtf/Noncopyable.h"
|
| -#include "wtf/PassOwnPtr.h"
|
| +#include "wtf/PtrUtil.h"
|
| #include "wtf/Vector.h"
|
| +#include <memory>
|
|
|
| namespace blink {
|
|
|
| @@ -35,14 +36,14 @@ union ByteType {
|
| class SVGPathByteStream {
|
| USING_FAST_MALLOC(SVGPathByteStream);
|
| public:
|
| - static PassOwnPtr<SVGPathByteStream> create()
|
| + static std::unique_ptr<SVGPathByteStream> create()
|
| {
|
| - return adoptPtr(new SVGPathByteStream);
|
| + return wrapUnique(new SVGPathByteStream);
|
| }
|
|
|
| - PassOwnPtr<SVGPathByteStream> clone() const
|
| + std::unique_ptr<SVGPathByteStream> clone() const
|
| {
|
| - return adoptPtr(new SVGPathByteStream(m_data));
|
| + return wrapUnique(new SVGPathByteStream(m_data));
|
| }
|
|
|
| typedef Vector<unsigned char> Data;
|
|
|