diff options
Diffstat (limited to 'chrome/browser')
-rw-r--r-- | chrome/browser/views/download_shelf_view.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/views/download_shelf_view.cc b/chrome/browser/views/download_shelf_view.cc index d2ea863..70b4634 100644 --- a/chrome/browser/views/download_shelf_view.cc +++ b/chrome/browser/views/download_shelf_view.cc @@ -204,8 +204,8 @@ void DownloadShelfView::Layout() { // Otherwise, we can have problems when for example the user switches to // 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 ViewContainer. - if (!GetViewContainer()) + // the NativeControlContainer ctor tries to use the Container. + if (!GetContainer()) return; gfx::Size image_size = arrow_image_->GetPreferredSize(); |