Index: chrome/browser/ui/views/infobars/infobar_container_view.cc |
diff --git a/chrome/browser/ui/views/infobars/infobar_container_view.cc b/chrome/browser/ui/views/infobars/infobar_container_view.cc |
index d3650768b1ec29c7e5625fdf2f214e4bde29dec0..68a4ab7da5191af5460df5bb695ba11ae3a9706f 100644 |
--- a/chrome/browser/ui/views/infobars/infobar_container_view.cc |
+++ b/chrome/browser/ui/views/infobars/infobar_container_view.cc |
@@ -22,7 +22,7 @@ InfoBarContainerView::~InfoBarContainerView() { |
RemoveAllInfoBarsForDestruction(); |
} |
-gfx::Size InfoBarContainerView::GetPreferredSize() { |
+gfx::Size InfoBarContainerView::GetPreferredSize() const { |
int total_height; |
GetVerticalOverlap(&total_height); |
gfx::Size size(0, total_height); |