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

Unified Diff: sky/engine/core/animation/ActiveAnimations.cpp

Issue 718873003: Remove most of config.h (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « sky/engine/core/animation/ActiveAnimations.h ('k') | sky/engine/core/animation/Animation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/animation/ActiveAnimations.cpp
diff --git a/sky/engine/core/animation/ActiveAnimations.cpp b/sky/engine/core/animation/ActiveAnimations.cpp
index 586de09c0a5368685d59bb9d04f755fa34cc107a..11e5c928e91972afcca8d32378341534777541fa 100644
--- a/sky/engine/core/animation/ActiveAnimations.cpp
+++ b/sky/engine/core/animation/ActiveAnimations.cpp
@@ -37,11 +37,9 @@ namespace blink {
ActiveAnimations::~ActiveAnimations()
{
-#if !ENABLE(OILPAN)
for (size_t i = 0; i < m_animations.size(); ++i)
m_animations[i]->notifyElementDestroyed();
m_animations.clear();
-#endif
}
void ActiveAnimations::updateAnimationFlags(RenderStyle& style)
@@ -78,11 +76,6 @@ void ActiveAnimations::cancelAnimationOnCompositor()
void ActiveAnimations::trace(Visitor* visitor)
{
-#if ENABLE(OILPAN)
- visitor->trace(m_cssAnimations);
- visitor->trace(m_defaultStack);
- visitor->trace(m_players);
-#endif
}
} // namespace blink
« no previous file with comments | « sky/engine/core/animation/ActiveAnimations.h ('k') | sky/engine/core/animation/Animation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698