Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(301)

Unified Diff: Source/core/animation/SampledEffect.h

Issue 1302463002: Make classes and structures in Source/core/animation fast-allocated. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/animation/PropertyHandle.h ('k') | Source/core/animation/Timing.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/SampledEffect.h
diff --git a/Source/core/animation/SampledEffect.h b/Source/core/animation/SampledEffect.h
index 16e91c8adcf58906c3708d0d3a0cd173bbbabff0..3ed129d17ddceee4b3630d6fae24833b2912b8c0 100644
--- a/Source/core/animation/SampledEffect.h
+++ b/Source/core/animation/SampledEffect.h
@@ -8,6 +8,7 @@
#include "core/animation/Animation.h"
#include "core/animation/Interpolation.h"
#include "core/animation/KeyframeEffect.h"
+#include "wtf/Allocator.h"
#include "wtf/BitArray.h"
#include "wtf/Vector.h"
@@ -16,6 +17,8 @@ namespace blink {
class SVGElement;
class SampledEffect : public NoBaseWillBeGarbageCollected<SampledEffect> {
+ WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(SampledEffect);
+ WTF_MAKE_NONCOPYABLE(SampledEffect);
public:
static PassOwnPtrWillBeRawPtr<SampledEffect> create(KeyframeEffect* animation, PassOwnPtrWillBeRawPtr<WillBeHeapVector<RefPtrWillBeMember<Interpolation>>> interpolations)
{
« no previous file with comments | « Source/core/animation/PropertyHandle.h ('k') | Source/core/animation/Timing.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698