Index: ui/base/animation/throb_animation.cc |
diff --git a/ui/base/animation/throb_animation.cc b/ui/base/animation/throb_animation.cc |
index 95e9a65c9c8ebb138b5b6d8d718919c95da7677b..72392a09161910065a63caeb933395ae86d77011 100644 |
--- a/ui/base/animation/throb_animation.cc |
+++ b/ui/base/animation/throb_animation.cc |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -35,8 +35,12 @@ void ThrobAnimation::StartThrobbing(int cycles_til_stop) { |
} |
void ThrobAnimation::Reset() { |
+ Reset(0); |
+} |
+ |
+void ThrobAnimation::Reset(double value) { |
ResetForSlide(); |
- SlideAnimation::Reset(); |
+ SlideAnimation::Reset(value); |
} |
void ThrobAnimation::Show() { |