Index: third_party/WebKit/Source/core/animation/InterpolableValue.cpp |
diff --git a/third_party/WebKit/Source/core/animation/InterpolableValue.cpp b/third_party/WebKit/Source/core/animation/InterpolableValue.cpp |
index de958c4bb1d3c10f5be733367587413430d416eb..084ecf872d1528bf54715c84fea717f8996105a0 100644 |
--- a/third_party/WebKit/Source/core/animation/InterpolableValue.cpp |
+++ b/third_party/WebKit/Source/core/animation/InterpolableValue.cpp |
@@ -4,8 +4,6 @@ |
#include "core/animation/InterpolableValue.h" |
-#include <memory> |
- |
namespace blink { |
bool InterpolableNumber::equals(const InterpolableValue& other) const |
@@ -64,9 +62,9 @@ void InterpolableList::interpolate(const InterpolableValue& to, const double pro |
} |
} |
-std::unique_ptr<InterpolableValue> InterpolableList::cloneAndZero() const |
+PassOwnPtr<InterpolableValue> InterpolableList::cloneAndZero() const |
{ |
- std::unique_ptr<InterpolableList> result = InterpolableList::create(m_size); |
+ OwnPtr<InterpolableList> result = InterpolableList::create(m_size); |
for (size_t i = 0; i < m_size; i++) |
result->set(i, m_values[i]->cloneAndZero()); |
return std::move(result); |