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

Unified Diff: Source/core/animation/AnimationEffect.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/AnimationClock.h ('k') | Source/core/animation/AnimationInputHelpers.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/AnimationEffect.h
diff --git a/Source/core/animation/AnimationEffect.h b/Source/core/animation/AnimationEffect.h
index 7ee089eacf0df6270c0f0eaa5c7f8e17e3474f6b..6d992a1ddd4f873e993ea76c03fb93da449b6f38 100644
--- a/Source/core/animation/AnimationEffect.h
+++ b/Source/core/animation/AnimationEffect.h
@@ -74,6 +74,7 @@ public:
};
class EventDelegate : public NoBaseWillBeGarbageCollectedFinalized<EventDelegate> {
+ WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(EventDelegate);
public:
virtual ~EventDelegate() { }
virtual bool requiresIterationEvents(const AnimationEffect&) = 0;
@@ -150,6 +151,7 @@ protected:
OwnPtrWillBeMember<EventDelegate> m_eventDelegate;
mutable struct CalculatedTiming {
+ DISALLOW_ALLOCATION();
Phase phase;
double currentIteration;
double timeFraction;
« no previous file with comments | « Source/core/animation/AnimationClock.h ('k') | Source/core/animation/AnimationInputHelpers.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698