| Index: third_party/WebKit/Source/core/animation/CSSTransformInterpolationType.cpp
|
| diff --git a/third_party/WebKit/Source/core/animation/CSSTransformInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSTransformInterpolationType.cpp
|
| index b44eb4033cd4073c19683011113102bf73036201..f938343dcf0bc0eae07178cf4f3fdeb7b8c5ae13 100644
|
| --- a/third_party/WebKit/Source/core/animation/CSSTransformInterpolationType.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/CSSTransformInterpolationType.cpp
|
| @@ -12,6 +12,8 @@
|
| #include "core/css/resolver/TransformBuilder.h"
|
| #include "platform/transforms/TransformOperations.h"
|
| #include "platform/transforms/TranslateTransformOperation.h"
|
| +#include "wtf/PtrUtil.h"
|
| +#include <memory>
|
|
|
| namespace blink {
|
|
|
| @@ -107,9 +109,9 @@ InterpolationValue convertTransform(const TransformOperations& transform)
|
|
|
| class InheritedTransformChecker : public InterpolationType::ConversionChecker {
|
| public:
|
| - static PassOwnPtr<InheritedTransformChecker> create(const TransformOperations& inheritedTransform)
|
| + static std::unique_ptr<InheritedTransformChecker> create(const TransformOperations& inheritedTransform)
|
| {
|
| - return adoptPtr(new InheritedTransformChecker(inheritedTransform));
|
| + return wrapUnique(new InheritedTransformChecker(inheritedTransform));
|
| }
|
|
|
| bool isValid(const InterpolationEnvironment& environment, const InterpolationValue& underlying) const final
|
| @@ -160,7 +162,7 @@ InterpolationValue CSSTransformInterpolationType::maybeConvertValue(const CSSVal
|
| primitiveValue.accumulateLengthArray(lengthArray);
|
| }
|
| }
|
| - OwnPtr<InterpolationType::ConversionChecker> lengthUnitsChecker = LengthUnitsChecker::maybeCreate(std::move(lengthArray), state);
|
| + std::unique_ptr<InterpolationType::ConversionChecker> lengthUnitsChecker = LengthUnitsChecker::maybeCreate(std::move(lengthArray), state);
|
|
|
| if (lengthUnitsChecker)
|
| conversionCheckers.append(std::move(lengthUnitsChecker));
|
|
|