Index: third_party/WebKit/Source/core/animation/CSSInterpolationType.cpp |
diff --git a/third_party/WebKit/Source/core/animation/CSSInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSInterpolationType.cpp |
index 0778f779007514b1f9b973096a277207c7645ef9..a5041dc5689fd0e317797a549d9abda154c88993 100644 |
--- a/third_party/WebKit/Source/core/animation/CSSInterpolationType.cpp |
+++ b/third_party/WebKit/Source/core/animation/CSSInterpolationType.cpp |
@@ -10,14 +10,16 @@ |
#include "core/css/resolver/CSSVariableResolver.h" |
#include "core/css/resolver/StyleResolverState.h" |
#include "platform/RuntimeEnabledFeatures.h" |
+#include "wtf/PtrUtil.h" |
+#include <memory> |
namespace blink { |
class ResolvedVariableChecker : public InterpolationType::ConversionChecker { |
public: |
- static PassOwnPtr<ResolvedVariableChecker> create(CSSPropertyID property, const CSSVariableReferenceValue* variableReference, const CSSValue* resolvedValue) |
+ static std::unique_ptr<ResolvedVariableChecker> create(CSSPropertyID property, const CSSVariableReferenceValue* variableReference, const CSSValue* resolvedValue) |
{ |
- return adoptPtr(new ResolvedVariableChecker(property, variableReference, resolvedValue)); |
+ return wrapUnique(new ResolvedVariableChecker(property, variableReference, resolvedValue)); |
} |
private: |