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 bf5a7791f1bdb7d594734deae136f44e44b13a00..9e27e13ffb1f23d60abbbb46451236dde8c0e446 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 |
@@ -64,7 +64,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); |
@@ -140,7 +140,7 @@ ExpandableContainerView::DetailsView::DetailsView( |
} |
} |
-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_); |
} |