Index: chrome/browser/ui/views/download/download_shelf_view.cc |
diff --git a/chrome/browser/ui/views/download/download_shelf_view.cc b/chrome/browser/ui/views/download/download_shelf_view.cc |
index 2be559bf5be777c72f4bb051e277ee422ab059bb..a8310bb11ec8e059ee0bdf6f1b91b0e6846ef761 100644 |
--- a/chrome/browser/ui/views/download/download_shelf_view.cc |
+++ b/chrome/browser/ui/views/download/download_shelf_view.cc |
@@ -165,7 +165,7 @@ content::PageNavigator* DownloadShelfView::GetNavigator() { |
return browser_; |
} |
-gfx::Size DownloadShelfView::GetPreferredSize() { |
+gfx::Size DownloadShelfView::GetPreferredSize() const { |
gfx::Size prefsize(kRightPadding + kLeftPadding + kCloseAndLinkPadding, 0); |
AdjustSize(close_button_, &prefsize); |
AdjustSize(show_all_view_, &prefsize); |