| Index: third_party/WebKit/Source/core/animation/CSSRotateInterpolationType.cpp
|
| diff --git a/third_party/WebKit/Source/core/animation/CSSRotateInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSRotateInterpolationType.cpp
|
| index c060bcadc46716c5b9bca4ef705d168bc5c28601..d9eb7a8c6c20c28cf23c8afaa65c0b22bc4932f1 100644
|
| --- a/third_party/WebKit/Source/core/animation/CSSRotateInterpolationType.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/CSSRotateInterpolationType.cpp
|
| @@ -7,6 +7,8 @@
|
| #include "core/css/resolver/StyleBuilderConverter.h"
|
| #include "platform/transforms/RotateTransformOperation.h"
|
| #include "platform/transforms/Rotation.h"
|
| +#include "wtf/PtrUtil.h"
|
| +#include <memory>
|
|
|
| namespace blink {
|
|
|
| @@ -90,9 +92,9 @@ InterpolationValue convertRotation(const Rotation& rotation)
|
|
|
| class InheritedRotationChecker : public InterpolationType::ConversionChecker {
|
| public:
|
| - static PassOwnPtr<InheritedRotationChecker> create(const Rotation& inheritedRotation)
|
| + static std::unique_ptr<InheritedRotationChecker> create(const Rotation& inheritedRotation)
|
| {
|
| - return adoptPtr(new InheritedRotationChecker(inheritedRotation));
|
| + return wrapUnique(new InheritedRotationChecker(inheritedRotation));
|
| }
|
|
|
| bool isValid(const InterpolationEnvironment& environment, const InterpolationValue& underlying) const final
|
|
|