Index: third_party/WebKit/Source/core/animation/KeyframeEffectModel.h |
diff --git a/third_party/WebKit/Source/core/animation/KeyframeEffectModel.h b/third_party/WebKit/Source/core/animation/KeyframeEffectModel.h |
index cd2d332fe317f4cabc3808ea8d9da4812d552b27..28502f05e6781c939a19404c6679180fe2c47803 100644 |
--- a/third_party/WebKit/Source/core/animation/KeyframeEffectModel.h |
+++ b/third_party/WebKit/Source/core/animation/KeyframeEffectModel.h |
@@ -44,6 +44,7 @@ |
#include "wtf/HashSet.h" |
#include "wtf/PassRefPtr.h" |
#include "wtf/Vector.h" |
+#include <memory> |
namespace blink { |
@@ -83,7 +84,7 @@ public: |
return m_keyframeGroups->get(property)->keyframes(); |
} |
- using KeyframeGroupMap = HashMap<PropertyHandle, OwnPtr<PropertySpecificKeyframeGroup>>; |
+ using KeyframeGroupMap = HashMap<PropertyHandle, std::unique_ptr<PropertySpecificKeyframeGroup>>; |
const KeyframeGroupMap& getPropertySpecificKeyframeGroups() const |
{ |
ensureKeyframeGroups(); |
@@ -140,7 +141,7 @@ protected: |
// The spec describes filtering the normalized keyframes at sampling time |
// to get the 'property-specific keyframes'. For efficiency, we cache the |
// property-specific lists. |
- mutable OwnPtr<KeyframeGroupMap> m_keyframeGroups; |
+ mutable std::unique_ptr<KeyframeGroupMap> m_keyframeGroups; |
mutable InterpolationEffect m_interpolationEffect; |
mutable int m_lastIteration; |
mutable double m_lastFraction; |