Index: chrome/browser/ui/views/collected_cookies_views.cc |
diff --git a/chrome/browser/ui/views/collected_cookies_views.cc b/chrome/browser/ui/views/collected_cookies_views.cc |
index 465fa474600bf353411b241c3e2caba82d9a8963..b03674ee2ac0a29b8f0540b457289236786660ab 100644 |
--- a/chrome/browser/ui/views/collected_cookies_views.cc |
+++ b/chrome/browser/ui/views/collected_cookies_views.cc |
@@ -155,7 +155,7 @@ class InfobarView : public views::View { |
} |
// views::View overrides. |
- virtual gfx::Size GetPreferredSize() OVERRIDE { |
+ virtual gfx::Size GetPreferredSize() const OVERRIDE { |
if (!visible()) |
return gfx::Size(); |
@@ -292,7 +292,7 @@ void CollectedCookiesViews::OnTreeViewSelectionChanged( |
/////////////////////////////////////////////////////////////////////////////// |
// CollectedCookiesViews, views::View overrides: |
-gfx::Size CollectedCookiesViews::GetMinimumSize() { |
+gfx::Size CollectedCookiesViews::GetMinimumSize() const { |
// Allow UpdateWebContentsModalDialogPosition to clamp the dialog width. |
return gfx::Size(0, View::GetMinimumSize().height()); |
} |