Index: third_party/WebKit/Source/core/animation/CSSShadowListInterpolationType.cpp |
diff --git a/third_party/WebKit/Source/core/animation/CSSShadowListInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSShadowListInterpolationType.cpp |
index 1a08cd58b969787ab368cafec9e67cb8f8cda66d..eff2bd9a4827e2f10b3f4bf602258aa95f5206b4 100644 |
--- a/third_party/WebKit/Source/core/animation/CSSShadowListInterpolationType.cpp |
+++ b/third_party/WebKit/Source/core/animation/CSSShadowListInterpolationType.cpp |
@@ -11,6 +11,8 @@ |
#include "core/css/resolver/StyleBuilder.h" |
#include "core/css/resolver/StyleResolverState.h" |
#include "core/style/ShadowList.h" |
+#include "wtf/PtrUtil.h" |
+#include <memory> |
namespace blink { |
@@ -41,9 +43,9 @@ InterpolationValue CSSShadowListInterpolationType::maybeConvertInitial(const Sty |
class ParentShadowListChecker : public InterpolationType::ConversionChecker { |
public: |
- static PassOwnPtr<ParentShadowListChecker> create(CSSPropertyID property, PassRefPtr<ShadowList> shadowList) |
+ static std::unique_ptr<ParentShadowListChecker> create(CSSPropertyID property, PassRefPtr<ShadowList> shadowList) |
{ |
- return adoptPtr(new ParentShadowListChecker(property, shadowList)); |
+ return wrapUnique(new ParentShadowListChecker(property, shadowList)); |
} |
private: |