Index: chrome/browser/ui/ash/multi_user/multi_user_warning_dialog.cc |
diff --git a/chrome/browser/ui/ash/multi_user/multi_user_warning_dialog.cc b/chrome/browser/ui/ash/multi_user/multi_user_warning_dialog.cc |
index dea53960aa84be29a63c5b4832dcb6ddd9eac861..9d5b70037ba920a63806dc348bd7509b1def2edc 100644 |
--- a/chrome/browser/ui/ash/multi_user/multi_user_warning_dialog.cc |
+++ b/chrome/browser/ui/ash/multi_user/multi_user_warning_dialog.cc |
@@ -43,7 +43,7 @@ class TeleportWarningView : public views::DialogDelegateView { |
virtual ui::ModalType GetModalType() const OVERRIDE; |
// views::View overrides. |
- virtual gfx::Size GetPreferredSize() OVERRIDE; |
+ virtual gfx::Size GetPreferredSize() const OVERRIDE; |
private: |
void InitDialog(); |
@@ -87,7 +87,7 @@ ui::ModalType TeleportWarningView::GetModalType() const { |
return ui::MODAL_TYPE_SYSTEM; |
} |
-gfx::Size TeleportWarningView::GetPreferredSize() { |
+gfx::Size TeleportWarningView::GetPreferredSize() const { |
return gfx::Size(kDefaultWidth, kDefaultHeight); |
} |