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

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

Issue 212143002: Oilpan: Move CSSAnimations, CSSAnimationUpdate and ActiveAnimations to oilpan's heap (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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
Index: Source/core/animation/ActiveAnimations.h
diff --git a/Source/core/animation/ActiveAnimations.h b/Source/core/animation/ActiveAnimations.h
index 67259ab69f1746d8d2424c01baba1731041664cf..49c4f3637abbd01558ea5b9df3fe9d2691c1a3b7 100644
--- a/Source/core/animation/ActiveAnimations.h
+++ b/Source/core/animation/ActiveAnimations.h
@@ -49,10 +49,12 @@ bool shouldCompositeForActiveAnimations(const RenderObject&);
bool hasActiveAnimations(const RenderObject&, CSSPropertyID);
bool hasActiveAnimationsOnCompositor(const RenderObject&, CSSPropertyID);
-class ActiveAnimations {
+class ActiveAnimations : public NoBaseWillBeGarbageCollectedFinalized<ActiveAnimations> {
public:
ActiveAnimations()
- : m_animationStyleChange(false) { }
+ : m_animationStyleChange(false)
+ {
+ }
// Animations that are currently active for this element, their effects will be applied
// during a style recalc. CSS Transitions are included in this stack.
@@ -78,6 +80,8 @@ public:
void setAnimationStyleChange(bool animationStyleChange) { m_animationStyleChange = animationStyleChange; }
+ void trace(Visitor*);
+
private:
bool isAnimationStyleChange() const { return m_animationStyleChange; }
« no previous file with comments | « no previous file | Source/core/animation/ActiveAnimations.cpp » ('j') | Source/core/animation/css/CSSAnimations.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698