Index: third_party/WebKit/Source/core/animation/CSSImageInterpolationType.cpp |
diff --git a/third_party/WebKit/Source/core/animation/CSSImageInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSImageInterpolationType.cpp |
index 415a3889b65d815ab26047b474c6febbbe37deda..60a9a0a307e516a777745541f555f427c018ef72 100644 |
--- a/third_party/WebKit/Source/core/animation/CSSImageInterpolationType.cpp |
+++ b/third_party/WebKit/Source/core/animation/CSSImageInterpolationType.cpp |
@@ -9,8 +9,6 @@ |
#include "core/css/CSSPrimitiveValue.h" |
#include "core/css/resolver/StyleResolverState.h" |
#include "core/style/StyleImage.h" |
-#include "wtf/PtrUtil.h" |
-#include <memory> |
namespace blink { |
@@ -115,9 +113,9 @@ class UnderlyingImageChecker : public InterpolationType::ConversionChecker { |
public: |
~UnderlyingImageChecker() final {} |
- static std::unique_ptr<UnderlyingImageChecker> create(const InterpolationValue& underlying) |
+ static PassOwnPtr<UnderlyingImageChecker> create(const InterpolationValue& underlying) |
{ |
- return wrapUnique(new UnderlyingImageChecker(underlying)); |
+ return adoptPtr(new UnderlyingImageChecker(underlying)); |
} |
private: |
@@ -153,9 +151,9 @@ class ParentImageChecker : public InterpolationType::ConversionChecker { |
public: |
~ParentImageChecker() final {} |
- static std::unique_ptr<ParentImageChecker> create(CSSPropertyID property, StyleImage* inheritedImage) |
+ static PassOwnPtr<ParentImageChecker> create(CSSPropertyID property, StyleImage* inheritedImage) |
{ |
- return wrapUnique(new ParentImageChecker(property, inheritedImage)); |
+ return adoptPtr(new ParentImageChecker(property, inheritedImage)); |
} |
private: |