Index: third_party/WebKit/Source/core/animation/PairwiseInterpolationValue.h |
diff --git a/third_party/WebKit/Source/core/animation/PairwiseInterpolationValue.h b/third_party/WebKit/Source/core/animation/PairwiseInterpolationValue.h |
index 6f1d96c2efb10e5debc536a87a52c564737b6b70..bc63e054da3677f44a251b6a3b73d937efdd6541 100644 |
--- a/third_party/WebKit/Source/core/animation/PairwiseInterpolationValue.h |
+++ b/third_party/WebKit/Source/core/animation/PairwiseInterpolationValue.h |
@@ -8,6 +8,7 @@ |
#include "core/animation/InterpolableValue.h" |
#include "core/animation/NonInterpolableValue.h" |
#include "platform/heap/Handle.h" |
+#include <memory> |
namespace blink { |
@@ -15,7 +16,7 @@ namespace blink { |
struct PairwiseInterpolationValue { |
DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); |
- PairwiseInterpolationValue(PassOwnPtr<InterpolableValue> startInterpolableValue, PassOwnPtr<InterpolableValue> endInterpolableValue, PassRefPtr<NonInterpolableValue> nonInterpolableValue = nullptr) |
+ PairwiseInterpolationValue(std::unique_ptr<InterpolableValue> startInterpolableValue, std::unique_ptr<InterpolableValue> endInterpolableValue, PassRefPtr<NonInterpolableValue> nonInterpolableValue = nullptr) |
: startInterpolableValue(std::move(startInterpolableValue)) |
, endInterpolableValue(std::move(endInterpolableValue)) |
, nonInterpolableValue(std::move(nonInterpolableValue)) |
@@ -31,8 +32,8 @@ struct PairwiseInterpolationValue { |
operator bool() const { return startInterpolableValue.get(); } |
- OwnPtr<InterpolableValue> startInterpolableValue; |
- OwnPtr<InterpolableValue> endInterpolableValue; |
+ std::unique_ptr<InterpolableValue> startInterpolableValue; |
+ std::unique_ptr<InterpolableValue> endInterpolableValue; |
RefPtr<NonInterpolableValue> nonInterpolableValue; |
}; |