Index: chrome/browser/ui/views/constrained_web_dialog_delegate_views.cc |
diff --git a/chrome/browser/ui/views/constrained_web_dialog_delegate_views.cc b/chrome/browser/ui/views/constrained_web_dialog_delegate_views.cc |
index c3042b08abe9e370f230a2dc79eb5c9bb9e1b71c..c6a64a02e4371edf3cbaa80f81ea6c8130cfa472 100644 |
--- a/chrome/browser/ui/views/constrained_web_dialog_delegate_views.cc |
+++ b/chrome/browser/ui/views/constrained_web_dialog_delegate_views.cc |
@@ -153,13 +153,13 @@ class ConstrainedWebDialogDelegateViewViews |
impl_->window()->Close(); |
return true; |
} |
- virtual gfx::Size GetPreferredSize() OVERRIDE { |
+ virtual gfx::Size GetPreferredSize() const OVERRIDE { |
gfx::Size size; |
if (!impl_->closed_via_webui()) |
GetWebDialogDelegate()->GetDialogSize(&size); |
return size; |
} |
- virtual gfx::Size GetMinimumSize() OVERRIDE { |
+ virtual gfx::Size GetMinimumSize() const OVERRIDE { |
// Return an empty size so that we can be made smaller. |
return gfx::Size(); |
} |