Index: chrome/browser/gtk/slide_animator_gtk.cc |
diff --git a/chrome/browser/gtk/slide_animator_gtk.cc b/chrome/browser/gtk/slide_animator_gtk.cc |
index 519a58fa2cbe4028357d4e59b72a396aba6e364a..866aca5e54566c1277c9e2de38b5a6d1ba533166 100644 |
--- a/chrome/browser/gtk/slide_animator_gtk.cc |
+++ b/chrome/browser/gtk/slide_animator_gtk.cc |
@@ -107,8 +107,8 @@ bool SlideAnimatorGtk::IsClosing() { |
} |
void SlideAnimatorGtk::AnimationProgressed(const Animation* animation) { |
- int showing_height = static_cast<int>(child_->allocation.height * |
- animation_->GetCurrentValue()); |
+ int showing_height = child_->allocation.height * |
+ animation_->GetCurrentValue(); |
if (direction_ == DOWN) { |
gtk_fixed_move(GTK_FIXED(widget_.get()), child_, 0, |
showing_height - child_->allocation.height); |