diff options
-rw-r--r-- | chrome/browser/views/download_shelf_view.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/chrome/browser/views/download_shelf_view.cc b/chrome/browser/views/download_shelf_view.cc index d651548..be13d68 100644 --- a/chrome/browser/views/download_shelf_view.cc +++ b/chrome/browser/views/download_shelf_view.cc @@ -181,10 +181,8 @@ void DownloadShelfView::AnimationProgressed(const Animation *animation) { } void DownloadShelfView::AnimationEnded(const Animation *animation) { - if (animation == shelf_animation_.get()) { - if (download_views_.empty()) - parent_->SetDownloadShelfVisible(shelf_animation_->IsShowing()); - } + if (animation == shelf_animation_.get()) + parent_->SetDownloadShelfVisible(shelf_animation_->IsShowing()); } void DownloadShelfView::Layout() { |