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