summaryrefslogtreecommitdiffstats
path: root/app/throb_animation.cc
diff options
context:
space:
mode:
Diffstat (limited to 'app/throb_animation.cc')
-rw-r--r--app/throb_animation.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/throb_animation.cc b/app/throb_animation.cc
index 28b5763..e8e5730 100644
--- a/app/throb_animation.cc
+++ b/app/throb_animation.cc
@@ -43,8 +43,9 @@ void ThrobAnimation::Hide() {
SlideAnimation::Hide();
}
-void ThrobAnimation::Step() {
- Animation::Step();
+void ThrobAnimation::Step(base::TimeTicks time_now) {
+ Animation::Step(time_now);
+
if (!IsAnimating() && throbbing_) {
// Were throbbing a finished a cycle. Start the next cycle unless we're at
// the end of the cycles, in which case we stop.