Index: third_party/WebKit/Source/core/style/StylePath.h |
diff --git a/third_party/WebKit/Source/core/style/StylePath.h b/third_party/WebKit/Source/core/style/StylePath.h |
index 763caab29b35c2983987593a6beea33c8f890015..6fb672e12517106566d616c86987c0449879c4f0 100644 |
--- a/third_party/WebKit/Source/core/style/StylePath.h |
+++ b/third_party/WebKit/Source/core/style/StylePath.h |
@@ -6,10 +6,10 @@ |
#define StylePath_h |
#include "platform/heap/Handle.h" |
-#include "wtf/OwnPtr.h" |
#include "wtf/PassRefPtr.h" |
#include "wtf/RefCounted.h" |
#include "wtf/RefPtr.h" |
+#include <memory> |
namespace blink { |
@@ -19,7 +19,7 @@ class SVGPathByteStream; |
class StylePath : public RefCounted<StylePath> { |
public: |
- static PassRefPtr<StylePath> create(PassOwnPtr<SVGPathByteStream>); |
+ static PassRefPtr<StylePath> create(std::unique_ptr<SVGPathByteStream>); |
~StylePath(); |
static StylePath* emptyPath(); |
@@ -35,10 +35,10 @@ public: |
bool operator==(const StylePath&) const; |
private: |
- explicit StylePath(PassOwnPtr<SVGPathByteStream>); |
+ explicit StylePath(std::unique_ptr<SVGPathByteStream>); |
- OwnPtr<SVGPathByteStream> m_byteStream; |
- mutable OwnPtr<Path> m_path; |
+ std::unique_ptr<SVGPathByteStream> m_byteStream; |
+ mutable std::unique_ptr<Path> m_path; |
mutable float m_pathLength; |
}; |