Index: ui/views/window/dialog_delegate_unittest.cc |
diff --git a/ui/views/window/dialog_delegate_unittest.cc b/ui/views/window/dialog_delegate_unittest.cc |
index dc98d01b52faa6fd9c8c1e4b87af2508513dabad..cbfc6fea51f98af422eeba5ece3d9e9761102822 100644 |
--- a/ui/views/window/dialog_delegate_unittest.cc |
+++ b/ui/views/window/dialog_delegate_unittest.cc |
@@ -37,7 +37,9 @@ class TestDialog : public DialogDelegateView, public ButtonListener { |
} |
// DialogDelegateView overrides: |
- virtual gfx::Size GetPreferredSize() OVERRIDE { return gfx::Size(200, 200); } |
+ virtual gfx::Size GetPreferredSize() const OVERRIDE { |
+ return gfx::Size(200, 200); |
+ } |
virtual base::string16 GetWindowTitle() const OVERRIDE { return title_; } |
// ButtonListener override: |