Index: chrome/browser/ui/views/extensions/extension_uninstall_dialog_view.cc |
diff --git a/chrome/browser/ui/views/extensions/extension_uninstall_dialog_view.cc b/chrome/browser/ui/views/extensions/extension_uninstall_dialog_view.cc |
index db1432068c6a32721328ac1f6f4935077c934ce8..2587a4d7c6116fbbbe5fe3367da2c6dbb0b1007c 100644 |
--- a/chrome/browser/ui/views/extensions/extension_uninstall_dialog_view.cc |
+++ b/chrome/browser/ui/views/extensions/extension_uninstall_dialog_view.cc |
@@ -98,7 +98,7 @@ class ExtensionUninstallDialogDelegateView : public views::DialogDelegateView { |
virtual base::string16 GetWindowTitle() const OVERRIDE; |
// views::View: |
- virtual gfx::Size GetPreferredSize() OVERRIDE; |
+ virtual gfx::Size GetPreferredSize() const OVERRIDE; |
virtual void Layout() OVERRIDE; |
@@ -203,7 +203,7 @@ base::string16 ExtensionUninstallDialogDelegateView::GetWindowTitle() const { |
return l10n_util::GetStringUTF16(IDS_EXTENSION_UNINSTALL_PROMPT_TITLE); |
} |
-gfx::Size ExtensionUninstallDialogDelegateView::GetPreferredSize() { |
+gfx::Size ExtensionUninstallDialogDelegateView::GetPreferredSize() const { |
int width = kRightColumnWidth; |
width += kIconSize; |
width += views::kButtonHEdgeMarginNew * 2; |