Index: third_party/WebKit/Source/core/animation/CSSLengthListInterpolationType.cpp |
diff --git a/third_party/WebKit/Source/core/animation/CSSLengthListInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSLengthListInterpolationType.cpp |
index 8e38df9831252715c1ce9489b05e604defe07ec5..e9822d64966240aab3459894a912d07e2c127c3e 100644 |
--- a/third_party/WebKit/Source/core/animation/CSSLengthListInterpolationType.cpp |
+++ b/third_party/WebKit/Source/core/animation/CSSLengthListInterpolationType.cpp |
@@ -11,6 +11,8 @@ |
#include "core/css/CSSPrimitiveValue.h" |
#include "core/css/CSSValueList.h" |
#include "core/css/resolver/StyleResolverState.h" |
+#include "wtf/PtrUtil.h" |
+#include <memory> |
namespace blink { |
@@ -55,9 +57,9 @@ class ParentLengthListChecker : public InterpolationType::ConversionChecker { |
public: |
~ParentLengthListChecker() final {} |
- static PassOwnPtr<ParentLengthListChecker> create(CSSPropertyID property, const Vector<Length>& inheritedLengthList) |
+ static std::unique_ptr<ParentLengthListChecker> create(CSSPropertyID property, const Vector<Length>& inheritedLengthList) |
{ |
- return adoptPtr(new ParentLengthListChecker(property, inheritedLengthList)); |
+ return wrapUnique(new ParentLengthListChecker(property, inheritedLengthList)); |
} |
private: |