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

Unified Diff: Source/core/animation/Animation.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 | « no previous file | Source/core/animation/AnimationClock.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/Animation.h
diff --git a/Source/core/animation/Animation.h b/Source/core/animation/Animation.h
index eba0d541b548ae9ae5e2562c0a1bb72bd051944b..58a0dc4ceccf5aefe6d58b95303f2548a59b025d 100644
--- a/Source/core/animation/Animation.h
+++ b/Source/core/animation/Animation.h
@@ -60,6 +60,7 @@ class CORE_EXPORT Animation final
DEFINE_WRAPPERTYPEINFO();
REFCOUNTED_EVENT_TARGET(Animation);
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(Animation);
+ WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(Animation);
public:
enum AnimationPlayState {
Idle,
@@ -259,6 +260,8 @@ private:
};
class CompositorState {
+ WTF_MAKE_FAST_ALLOCATED(CompositorState);
+ WTF_MAKE_NONCOPYABLE(CompositorState);
public:
CompositorState(Animation& animation)
: startTime(animation.m_startTime)
« no previous file with comments | « no previous file | Source/core/animation/AnimationClock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698