Index: ui/views/window/dialog_client_view.cc |
diff --git a/ui/views/window/dialog_client_view.cc b/ui/views/window/dialog_client_view.cc |
index e100fd135a0ea5d8a7fc9f1b266d2b620d17362a..172ca0fde3dd3b97ed64173cc23ceaea6bfc9721 100644 |
--- a/ui/views/window/dialog_client_view.cc |
+++ b/ui/views/window/dialog_client_view.cc |
@@ -175,7 +175,7 @@ void DialogClientView::OnDidChangeFocus(View* focused_before, |
//////////////////////////////////////////////////////////////////////////////// |
// DialogClientView, View overrides: |
-gfx::Size DialogClientView::GetPreferredSize() { |
+gfx::Size DialogClientView::GetPreferredSize() const { |
// Initialize the size to fit the buttons and extra view row. |
gfx::Size size( |
(ok_button_ ? ok_button_->GetPreferredSize().width() : 0) + |