Index: Source/core/animation/Keyframe.h |
diff --git a/Source/core/animation/Keyframe.h b/Source/core/animation/Keyframe.h |
index 95650323d5cbf6fafba5a98147e24bfcb2cb9352..527fb9a204ae1344b99b03aef190b4922a5f283f 100644 |
--- a/Source/core/animation/Keyframe.h |
+++ b/Source/core/animation/Keyframe.h |
@@ -10,6 +10,7 @@ |
#include "core/animation/EffectModel.h" |
#include "core/animation/PropertyHandle.h" |
#include "core/animation/animatable/AnimatableValue.h" |
+#include "wtf/Allocator.h" |
namespace blink { |
@@ -20,6 +21,8 @@ class ComputedStyle; |
// FIXME: Make Keyframe immutable |
class CORE_EXPORT Keyframe : public RefCountedWillBeGarbageCollectedFinalized<Keyframe> { |
+ WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(Keyframe); |
+ WTF_MAKE_NONCOPYABLE(Keyframe); |
public: |
virtual ~Keyframe() { } |
@@ -53,6 +56,8 @@ public: |
DEFINE_INLINE_VIRTUAL_TRACE() { } |
class PropertySpecificKeyframe : public NoBaseWillBeGarbageCollectedFinalized<PropertySpecificKeyframe> { |
+ WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(PropertySpecificKeyframe); |
+ WTF_MAKE_NONCOPYABLE(PropertySpecificKeyframe); |
public: |
virtual ~PropertySpecificKeyframe() { } |
double offset() const { return m_offset; } |