Index: chrome/browser/gtk/bookmark_bar_gtk.cc |
=================================================================== |
--- chrome/browser/gtk/bookmark_bar_gtk.cc (revision 25840) |
+++ chrome/browser/gtk/bookmark_bar_gtk.cc (working copy) |
@@ -480,8 +480,9 @@ |
void BookmarkBarGtk::AnimationProgressed(const Animation* animation) { |
DCHECK_EQ(animation, slide_animation_.get()); |
- gint height = animation->GetCurrentValue() * |
- (kBookmarkBarHeight - kBookmarkBarMinimumHeight) + |
+ gint height = |
+ static_cast<gint>(animation->GetCurrentValue() * |
+ (kBookmarkBarHeight - kBookmarkBarMinimumHeight)) + |
kBookmarkBarMinimumHeight; |
gtk_widget_set_size_request(event_box_.get(), -1, height); |
} |