diff options
Diffstat (limited to 'chrome/browser/views/download_shelf_view.cc')
-rw-r--r-- | chrome/browser/views/download_shelf_view.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/views/download_shelf_view.cc b/chrome/browser/views/download_shelf_view.cc index 4190d78..cb5ef66 100644 --- a/chrome/browser/views/download_shelf_view.cc +++ b/chrome/browser/views/download_shelf_view.cc @@ -204,7 +204,7 @@ void DownloadShelfView::Layout() { // another tab (that doesn't have a download shelf) _before_ the download // has started and we'll crash when calling SetVisible() below because // the NativeControlContainer ctor tries to use the Container. - if (!GetContainer()) + if (!GetWidget()) return; gfx::Size image_size = arrow_image_->GetPreferredSize(); |