diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-22 20:45:42 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-22 20:45:42 +0000 |
commit | bcd9b147d7622c7d8b0970142254bfe94d10cb5f (patch) | |
tree | e33c2117b695b5e7397a9dae1aec83bbfb97bd26 /chrome/browser/gtk | |
parent | 7e920a366d0e24f17fd10063ea18dbe71eb9d914 (diff) | |
download | chromium_src-bcd9b147d7622c7d8b0970142254bfe94d10cb5f.zip chromium_src-bcd9b147d7622c7d8b0970142254bfe94d10cb5f.tar.gz chromium_src-bcd9b147d7622c7d8b0970142254bfe94d10cb5f.tar.bz2 |
Unbreak build.
TBR=pinkerton
Review URL: http://codereview.chromium.org/93037
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14241 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk')
-rw-r--r-- | chrome/browser/gtk/download_item_gtk.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/gtk/download_item_gtk.cc b/chrome/browser/gtk/download_item_gtk.cc index 5e49ff0..ca3984e 100644 --- a/chrome/browser/gtk/download_item_gtk.cc +++ b/chrome/browser/gtk/download_item_gtk.cc @@ -234,7 +234,9 @@ void DownloadItemGtk::AnimationProgressed(const Animation* animation) { // same as the width of the text. See above TODO for explanation of the // extra 50. int showing_width = std::max(kMinDownloadItemWidth, - (kTextWidth + 50) * new_item_animation_->GetCurrentValue()); + static_cast<int>((kTextWidth + 50) * + new_item_animation_->GetCurrentValue())); + showing_width = std::max(showing_width, kMinDownloadItemWidth); gtk_widget_set_size_request(body_, showing_width, -1); } |