diff options
Diffstat (limited to 'chrome/browser/ui/views/download_shelf_view.cc')
-rw-r--r-- | chrome/browser/ui/views/download_shelf_view.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/ui/views/download_shelf_view.cc b/chrome/browser/ui/views/download_shelf_view.cc index 04c713d..b37804f 100644 --- a/chrome/browser/ui/views/download_shelf_view.cc +++ b/chrome/browser/ui/views/download_shelf_view.cc @@ -211,7 +211,7 @@ gfx::Size DownloadShelfView::GetPreferredSize() { AdjustSize(close_button_, &prefsize); AdjustSize(show_all_view_, &prefsize); // Add one download view to the preferred size. - if (download_views_.size() > 0) { + if (!download_views_.empty()) { AdjustSize(*download_views_.begin(), &prefsize); prefsize.Enlarge(kDownloadPadding, 0); } |