| Index: chrome/browser/views/frame/browser_view.cc
|
| ===================================================================
|
| --- chrome/browser/views/frame/browser_view.cc (revision 21225)
|
| +++ chrome/browser/views/frame/browser_view.cc (working copy)
|
| @@ -1573,7 +1573,10 @@
|
| }
|
|
|
| int BrowserView::LayoutDownloadShelf(int bottom) {
|
| - if (IsDownloadShelfVisible()) {
|
| + // Re-layout the shelf either if it is visible or if it's close animation
|
| + // is currently running.
|
| + if (IsDownloadShelfVisible() ||
|
| + (download_shelf_.get() && download_shelf_->IsClosing())) {
|
| bool visible = browser_->SupportsWindowFeature(
|
| Browser::FEATURE_DOWNLOADSHELF);
|
| DCHECK(download_shelf_.get());
|
|
|