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

Unified Diff: cc/animation/animation_host.cc

Issue 2377223002: CC Animations: Rewrite unit tests to work with AnimationPlayer. (Closed)
Patch Set: Reparent. Created 4 years, 2 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 | cc/animation/animation_player.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/animation/animation_host.cc
diff --git a/cc/animation/animation_host.cc b/cc/animation/animation_host.cc
index eb76c596e181713191b3ff19a52b88a4216ef5f9..b350bfd4eab1ad48686a3a47fd5c73908c0763bb 100644
--- a/cc/animation/animation_host.cc
+++ b/cc/animation/animation_host.cc
@@ -427,7 +427,7 @@ bool AnimationHost::HasAnyAnimationTargetingProperty(
if (!element_animations)
return false;
- return !!element_animations->GetAnimation(property);
+ return element_animations->HasAnyAnimationTargetingProperty(property);
}
bool AnimationHost::HasFilterAnimationThatInflatesBounds(
« no previous file with comments | « no previous file | cc/animation/animation_player.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698