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

Unified Diff: cc/animation/element_animations.cc

Issue 2388943002: cc: Delete unused AnimationCurve::AffectsScale and related code (Closed)
Patch Set: 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 | « cc/animation/element_animations.h ('k') | cc/animation/element_animations_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/animation/element_animations.cc
diff --git a/cc/animation/element_animations.cc b/cc/animation/element_animations.cc
index 32da627aa5cbbc9957830a1113137a6e10ff817f..b9bdc0b80f87afd609fd1b4b06eb21c1c6e41945 100644
--- a/cc/animation/element_animations.cc
+++ b/cc/animation/element_animations.cc
@@ -384,16 +384,6 @@ bool ElementAnimations::TransformAnimationBoundsForBox(
return true;
}
-bool ElementAnimations::HasAnimationThatAffectsScale() const {
- ElementAnimations::PlayersList::Iterator it(players_list_.get());
- AnimationPlayer* player;
- while ((player = it.GetNext()) != nullptr) {
- if (player->HasAnimationThatAffectsScale())
- return true;
- }
- return false;
-}
-
bool ElementAnimations::HasOnlyTranslationTransforms(
ElementListType list_type) const {
ElementAnimations::PlayersList::Iterator it(players_list_.get());
« no previous file with comments | « cc/animation/element_animations.h ('k') | cc/animation/element_animations_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698