summaryrefslogtreecommitdiffstats
path: root/chrome/common/throb_animation.cc
diff options
context:
space:
mode:
authorglen@chromium.org <glen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-29 22:55:35 +0000
committerglen@chromium.org <glen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-29 22:55:35 +0000
commitea3f5cf79a8e5d9cd9825bcbc71d448534350135 (patch)
treef06dd247dde9b369b8f525495826e536c2b01809 /chrome/common/throb_animation.cc
parentc92913977f17839db50ddd561c1e7fa5a145bd3c (diff)
downloadchromium_src-ea3f5cf79a8e5d9cd9825bcbc71d448534350135.zip
chromium_src-ea3f5cf79a8e5d9cd9825bcbc71d448534350135.tar.gz
chromium_src-ea3f5cf79a8e5d9cd9825bcbc71d448534350135.tar.bz2
Fix throb animation - a change to Animation::Start meant that Run() in a derived class was never being called. Throb animation depended on this.
BUG=3516 Review URL: http://codereview.chromium.org/8896 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4181 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/throb_animation.cc')
-rw-r--r--chrome/common/throb_animation.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/common/throb_animation.cc b/chrome/common/throb_animation.cc
index 80ea10e..be7a852 100644
--- a/chrome/common/throb_animation.cc
+++ b/chrome/common/throb_animation.cc
@@ -43,8 +43,8 @@ void ThrobAnimation::Hide() {
SlideAnimation::Hide();
}
-void ThrobAnimation::Run() {
- SlideAnimation::Run();
+void ThrobAnimation::Step() {
+ Animation::Step();
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.