| Index: third_party/WebKit/Source/core/animation/ListInterpolationFunctions.h
|
| diff --git a/third_party/WebKit/Source/core/animation/ListInterpolationFunctions.h b/third_party/WebKit/Source/core/animation/ListInterpolationFunctions.h
|
| index b80dd09f7402f8fe95d6167d55f5c17809ac9a59..57764dca263bd84eae3f6bbcf08c69691f6315df 100644
|
| --- a/third_party/WebKit/Source/core/animation/ListInterpolationFunctions.h
|
| +++ b/third_party/WebKit/Source/core/animation/ListInterpolationFunctions.h
|
| @@ -8,6 +8,7 @@
|
| #include "core/animation/InterpolationValue.h"
|
| #include "core/animation/PairwiseInterpolationValue.h"
|
| #include "wtf/Vector.h"
|
| +#include <memory>
|
|
|
| namespace blink {
|
|
|
| @@ -28,7 +29,7 @@ public:
|
| static bool equalValues(const InterpolationValue&, const InterpolationValue&, EqualNonInterpolableValuesCallback);
|
|
|
| using NonInterpolableValuesAreCompatibleCallback = bool (*)(const NonInterpolableValue*, const NonInterpolableValue*);
|
| - using CompositeItemCallback = void (*)(OwnPtr<InterpolableValue>&, RefPtr<NonInterpolableValue>&, double underlyingFraction, const InterpolableValue&, const NonInterpolableValue*);
|
| + using CompositeItemCallback = void (*)(std::unique_ptr<InterpolableValue>&, RefPtr<NonInterpolableValue>&, double underlyingFraction, const InterpolableValue&, const NonInterpolableValue*);
|
| static void composite(UnderlyingValueOwner&, double underlyingFraction, const InterpolationType&, const InterpolationValue&, NonInterpolableValuesAreCompatibleCallback, CompositeItemCallback);
|
| };
|
|
|
| @@ -69,7 +70,7 @@ InterpolationValue ListInterpolationFunctions::createList(size_t length, CreateI
|
| {
|
| if (length == 0)
|
| return createEmptyList();
|
| - OwnPtr<InterpolableList> interpolableList = InterpolableList::create(length);
|
| + std::unique_ptr<InterpolableList> interpolableList = InterpolableList::create(length);
|
| Vector<RefPtr<NonInterpolableValue>> nonInterpolableValues(length);
|
| for (size_t i = 0; i < length; i++) {
|
| InterpolationValue item = createItem(i);
|
|
|