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

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

Issue 182293002: Make Element::ensureActiveAnimations() return a reference (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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/css/resolver/StyleResolver.cpp » ('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 f77e9f63c8fd9f64bb8adc920520b279b3f28b65..bc9b5ac92222bc7fe7368605deae6f855844d292 100644
--- a/Source/core/animation/Animation.cpp
+++ b/Source/core/animation/Animation.cpp
@@ -329,7 +329,7 @@ Animation::Animation(PassRefPtr<Element> target, PassRefPtrWillBeRawPtr<Animatio
void Animation::didAttach()
{
if (m_target)
- m_target->ensureActiveAnimations()->players().add(player());
+ m_target->ensureActiveAnimations().players().add(player());
}
void Animation::willDetach()
@@ -342,7 +342,7 @@ void Animation::willDetach()
static AnimationStack& ensureAnimationStack(Element* element)
{
- return element->ensureActiveAnimations()->defaultStack();
+ return element->ensureActiveAnimations().defaultStack();
}
void Animation::applyEffects(bool previouslyInEffect)
« no previous file with comments | « no previous file | Source/core/css/resolver/StyleResolver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698