| 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 0508f6f2907e25138b47917eea7a3298f3b80450..b6837fc9949a73c28df7c19c2afae74473b378e3 100644
|
| --- a/chrome/browser/gtk/slide_animator_gtk.cc
|
| +++ b/chrome/browser/gtk/slide_animator_gtk.cc
|
| @@ -111,8 +111,8 @@ bool SlideAnimatorGtk::IsAnimating() {
|
| }
|
|
|
| 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);
|
|
|