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 ddd115e980ee97ce61171caa78107974357eee56..5644eb8aeede26ae5301dcffe8a5c60c95e08e1f 100644 |
--- a/third_party/WebKit/Source/core/animation/UnderlyingValueOwner.h |
+++ b/third_party/WebKit/Source/core/animation/UnderlyingValueOwner.h |
@@ -8,13 +8,12 @@ |
#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 std::unique_ptr'd objects. |
+// This functions similar to a DataRef except on OwnPtr'd objects. |
class UnderlyingValueOwner { |
WTF_MAKE_NONCOPYABLE(UnderlyingValueOwner); |
STACK_ALLOCATED(); |
@@ -43,7 +42,7 @@ public: |
void set(std::nullptr_t); |
void set(const InterpolationType&, const InterpolationValue&); |
void set(const InterpolationType&, InterpolationValue&&); |
- void set(std::unique_ptr<TypedInterpolationValue>); |
+ void set(PassOwnPtr<TypedInterpolationValue>); |
void set(const TypedInterpolationValue*); |
InterpolationValue& mutableValue(); |