Index: chrome/browser/gtk/slide_animator_gtk.cc |
=================================================================== |
--- chrome/browser/gtk/slide_animator_gtk.cc (revision 25840) |
+++ chrome/browser/gtk/slide_animator_gtk.cc (working copy) |
@@ -111,8 +111,8 @@ |
} |
void SlideAnimatorGtk::AnimationProgressed(const Animation* animation) { |
- int showing_height = child_->allocation.height * |
- animation_->GetCurrentValue(); |
+ int showing_height = static_cast<int>(child_->allocation.height * |
+ animation_->GetCurrentValue()); |
if (direction_ == DOWN) { |
gtk_fixed_move(GTK_FIXED(widget_.get()), child_, 0, |
showing_height - child_->allocation.height); |