Index: chrome/browser/ui/views/apps/app_info_dialog/app_info_permissions_tab.cc |
diff --git a/chrome/browser/ui/views/apps/app_info_dialog/app_info_permissions_tab.cc b/chrome/browser/ui/views/apps/app_info_dialog/app_info_permissions_tab.cc |
index 68d159ab083e03ce17ed422491b66199c0f4b6e2..2af19573a3db21ca07ee0614d93cb279d0d5cd93 100644 |
--- a/chrome/browser/ui/views/apps/app_info_dialog/app_info_permissions_tab.cc |
+++ b/chrome/browser/ui/views/apps/app_info_dialog/app_info_permissions_tab.cc |
@@ -74,7 +74,7 @@ class ExpandableContainerView : public views::View, |
virtual ~DetailsView() {} |
// views::View: |
- virtual gfx::Size GetPreferredSize() OVERRIDE; |
+ virtual gfx::Size GetPreferredSize() const OVERRIDE; |
// Animates this to be a height proportional to |ratio|. |
void AnimateToRatio(double ratio); |
@@ -180,7 +180,7 @@ ExpandableContainerView::DetailsView::DetailsView( |
layout->AddPaddingRow(0, views::kPanelVertMargin); |
} |
-gfx::Size ExpandableContainerView::DetailsView::GetPreferredSize() { |
+gfx::Size ExpandableContainerView::DetailsView::GetPreferredSize() const { |
gfx::Size size = views::View::GetPreferredSize(); |
return gfx::Size(size.width(), size.height() * visible_ratio_); |
} |