Index: chrome/browser/chromeos/profiles/multiprofiles_intro_dialog.cc |
diff --git a/chrome/browser/chromeos/profiles/multiprofiles_intro_dialog.cc b/chrome/browser/chromeos/profiles/multiprofiles_intro_dialog.cc |
index c5b0261d9c03f168b9c7ddca893eca9ca54b0391..0f6cb923f09c392b60aad2e108fb4159223a7a13 100644 |
--- a/chrome/browser/chromeos/profiles/multiprofiles_intro_dialog.cc |
+++ b/chrome/browser/chromeos/profiles/multiprofiles_intro_dialog.cc |
@@ -43,7 +43,7 @@ class MultiprofilesIntroView : 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 MultiprofilesIntroView::GetModalType() const { |
return ui::MODAL_TYPE_SYSTEM; |
} |
-gfx::Size MultiprofilesIntroView::GetPreferredSize() { |
+gfx::Size MultiprofilesIntroView::GetPreferredSize() const { |
return gfx::Size(kDefaultWidth, kDefaultHeight); |
} |