| Index: third_party/WebKit/Source/core/animation/UnderlyingValueOwner.h
|
| diff --git a/third_party/WebKit/Source/core/animation/UnderlyingValueOwner.h b/third_party/WebKit/Source/core/animation/UnderlyingValueOwner.h
|
| index 5644eb8aeede26ae5301dcffe8a5c60c95e08e1f..ddd115e980ee97ce61171caa78107974357eee56 100644
|
| --- a/third_party/WebKit/Source/core/animation/UnderlyingValueOwner.h
|
| +++ b/third_party/WebKit/Source/core/animation/UnderlyingValueOwner.h
|
| @@ -8,12 +8,13 @@
|
| #include "core/animation/TypedInterpolationValue.h"
|
| #include "wtf/Allocator.h"
|
| #include "wtf/Noncopyable.h"
|
| +#include <memory>
|
|
|
| namespace blink {
|
|
|
| // Handles memory management of underlying InterpolationValues in applyStack()
|
| // Ensures we perform copy on write if we are not the owner of an underlying InterpolationValue.
|
| -// This functions similar to a DataRef except on OwnPtr'd objects.
|
| +// This functions similar to a DataRef except on std::unique_ptr'd objects.
|
| class UnderlyingValueOwner {
|
| WTF_MAKE_NONCOPYABLE(UnderlyingValueOwner);
|
| STACK_ALLOCATED();
|
| @@ -42,7 +43,7 @@ public:
|
| void set(std::nullptr_t);
|
| void set(const InterpolationType&, const InterpolationValue&);
|
| void set(const InterpolationType&, InterpolationValue&&);
|
| - void set(PassOwnPtr<TypedInterpolationValue>);
|
| + void set(std::unique_ptr<TypedInterpolationValue>);
|
| void set(const TypedInterpolationValue*);
|
|
|
| InterpolationValue& mutableValue();
|
|
|