| Index: third_party/WebKit/Source/core/animation/CSSMotionRotationInterpolationType.cpp
|
| diff --git a/third_party/WebKit/Source/core/animation/CSSMotionRotationInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSMotionRotationInterpolationType.cpp
|
| index 3a55984b9c7617f863823e2f5efdb6867d5ce0ab..4f504951cf0003a896d365afdcc888ea520ccb3c 100644
|
| --- a/third_party/WebKit/Source/core/animation/CSSMotionRotationInterpolationType.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/CSSMotionRotationInterpolationType.cpp
|
| @@ -6,8 +6,6 @@
|
|
|
| #include "core/css/resolver/StyleBuilderConverter.h"
|
| #include "core/style/StyleMotionRotation.h"
|
| -#include "wtf/PtrUtil.h"
|
| -#include <memory>
|
|
|
| namespace blink {
|
|
|
| @@ -39,9 +37,9 @@ namespace {
|
|
|
| class UnderlyingRotationTypeChecker : public InterpolationType::ConversionChecker {
|
| public:
|
| - static std::unique_ptr<UnderlyingRotationTypeChecker> create(MotionRotationType underlyingRotationType)
|
| + static PassOwnPtr<UnderlyingRotationTypeChecker> create(MotionRotationType underlyingRotationType)
|
| {
|
| - return wrapUnique(new UnderlyingRotationTypeChecker(underlyingRotationType));
|
| + return adoptPtr(new UnderlyingRotationTypeChecker(underlyingRotationType));
|
| }
|
|
|
| bool isValid(const InterpolationEnvironment&, const InterpolationValue& underlying) const final
|
| @@ -59,9 +57,9 @@ private:
|
|
|
| class InheritedRotationTypeChecker : public InterpolationType::ConversionChecker {
|
| public:
|
| - static std::unique_ptr<InheritedRotationTypeChecker> create(MotionRotationType inheritedRotationType)
|
| + static PassOwnPtr<InheritedRotationTypeChecker> create(MotionRotationType inheritedRotationType)
|
| {
|
| - return wrapUnique(new InheritedRotationTypeChecker(inheritedRotationType));
|
| + return adoptPtr(new InheritedRotationTypeChecker(inheritedRotationType));
|
| }
|
|
|
| bool isValid(const InterpolationEnvironment& environment, const InterpolationValue& underlying) const final
|
|
|