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

Unified Diff: Source/core/animation/CompositorAnimationsImpl.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/CompositorAnimations.h ('k') | Source/core/animation/DocumentAnimation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/CompositorAnimationsImpl.h
diff --git a/Source/core/animation/CompositorAnimationsImpl.h b/Source/core/animation/CompositorAnimationsImpl.h
index cbfe62290059867da5309519665883a92e0c46c0..cd85c7d1bf6205e104edaacf49524dc55a7590b4 100644
--- a/Source/core/animation/CompositorAnimationsImpl.h
+++ b/Source/core/animation/CompositorAnimationsImpl.h
@@ -37,14 +37,17 @@
#include "core/animation/Timing.h"
#include "platform/animation/TimingFunction.h"
#include "public/platform/WebCompositorAnimation.h"
+#include "wtf/Allocator.h"
namespace blink {
class WebCompositorAnimationCurve;
class CORE_EXPORT CompositorAnimationsImpl {
+ STATIC_ONLY(CompositorAnimationsImpl);
private:
struct CompositorTiming {
+ DISALLOW_ALLOCATION();
void assertValid() const
{
ASSERT(scaledDuration > 0);
« no previous file with comments | « Source/core/animation/CompositorAnimations.h ('k') | Source/core/animation/DocumentAnimation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698