Index: ui/gfx/animation/slide_animation.cc |
diff --git a/ui/gfx/animation/slide_animation.cc b/ui/gfx/animation/slide_animation.cc |
index d08ac41d9af33b7205a7e522f8b30139ba8d6c74..780e8ec8b0fa70593b13042edc5b228484e067d2 100644 |
--- a/ui/gfx/animation/slide_animation.cc |
+++ b/ui/gfx/animation/slide_animation.cc |
@@ -8,22 +8,18 @@ |
namespace gfx { |
-// How many frames per second to target. |
-static const int kDefaultFrameRateHz = 60; |
- |
// How long animations should take by default. |
static const int kDefaultDurationMs = 120; |
SlideAnimation::SlideAnimation(AnimationDelegate* target) |
- : LinearAnimation(kDefaultFrameRateHz, target), |
+ : LinearAnimation(target), |
target_(target), |
tween_type_(Tween::EASE_OUT), |
showing_(false), |
value_start_(0), |
value_end_(0), |
value_current_(0), |
- slide_duration_(kDefaultDurationMs) { |
-} |
+ slide_duration_(kDefaultDurationMs) {} |
SlideAnimation::~SlideAnimation() { |
} |