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

Unified Diff: cc/animation/element_animations.cc

Issue 2522543005: CC Animation: Remove redundant legacy call to UpdateActivations. (Closed)
Patch Set: Created 4 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 | « cc/animation/element_animations.h ('k') | no next file » | 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 ae6fd01e4caaaaa97d92bb289d03b5a46d5f92ce..f8a7e9e9bef15e53dfa6504c74bc2f24867d0169 100644
--- a/cc/animation/element_animations.cc
+++ b/cc/animation/element_animations.cc
@@ -138,7 +138,7 @@ void ElementAnimations::SetNeedsPushProperties() {
}
void ElementAnimations::PushPropertiesTo(
- scoped_refptr<ElementAnimations> element_animations_impl) {
+ scoped_refptr<ElementAnimations> element_animations_impl) const {
DCHECK_NE(this, element_animations_impl);
if (!needs_push_properties_)
@@ -155,7 +155,6 @@ void ElementAnimations::PushPropertiesTo(
needs_update_impl_client_state_ = false;
element_animations_impl->UpdateActivation(ActivationType::NORMAL);
- UpdateActivation(ActivationType::NORMAL);
}
void ElementAnimations::Animate(base::TimeTicks monotonic_time) {
« no previous file with comments | « cc/animation/element_animations.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698