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

Unified Diff: Source/core/animation/Animation.cpp

Issue 293893003: Web Animations: Rename TimedItem to AnimationSource (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update expectations. Created 6 years, 7 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/Animation.h ('k') | Source/core/animation/Animation.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/Animation.cpp
diff --git a/Source/core/animation/Animation.cpp b/Source/core/animation/Animation.cpp
index cfcc388b2e425652bc976420b550b2c02fda7e71..6df1bb0518394a8efc0fd170667c87d0b663bc7f 100644
--- a/Source/core/animation/Animation.cpp
+++ b/Source/core/animation/Animation.cpp
@@ -89,7 +89,7 @@ PassRefPtrWillBeRawPtr<Animation> Animation::create(Element* element, const Vect
}
Animation::Animation(Element* target, PassRefPtrWillBeRawPtr<AnimationEffect> effect, const Timing& timing, Priority priority, PassOwnPtr<EventDelegate> eventDelegate)
- : TimedItem(timing, eventDelegate)
+ : AnimationSource(timing, eventDelegate)
, m_target(target)
, m_effect(effect)
, m_sampledEffect(nullptr)
@@ -115,7 +115,7 @@ void Animation::attach(AnimationPlayer* player)
m_target->ensureActiveAnimations().addPlayer(player);
m_target->setNeedsAnimationStyleRecalc();
}
- TimedItem::attach(player);
+ AnimationSource::attach(player);
}
void Animation::detach()
@@ -124,7 +124,7 @@ void Animation::detach()
m_target->activeAnimations()->removePlayer(player());
if (m_sampledEffect)
clearEffects();
- TimedItem::detach();
+ AnimationSource::detach();
}
void Animation::specifiedTimingChanged()
@@ -310,7 +310,7 @@ void Animation::trace(Visitor* visitor)
visitor->trace(m_target);
visitor->trace(m_effect);
visitor->trace(m_sampledEffect);
- TimedItem::trace(visitor);
+ AnimationSource::trace(visitor);
}
} // namespace WebCore
« no previous file with comments | « Source/core/animation/Animation.h ('k') | Source/core/animation/Animation.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698