Index: chrome/browser/chromeos/options/network_config_view.cc |
diff --git a/chrome/browser/chromeos/options/network_config_view.cc b/chrome/browser/chromeos/options/network_config_view.cc |
index a3f7442cd0ef600e1f13c3794bacc7705b98d280..9938176e80ee940e3c0485995cc1c39bbeb88856 100644 |
--- a/chrome/browser/chromeos/options/network_config_view.cc |
+++ b/chrome/browser/chromeos/options/network_config_view.cc |
@@ -252,7 +252,7 @@ void NetworkConfigView::Layout() { |
child_config_view_->SetBounds(0, 0, width(), height()); |
} |
-gfx::Size NetworkConfigView::GetPreferredSize() { |
+gfx::Size NetworkConfigView::GetPreferredSize() const { |
gfx::Size result(views::Widget::GetLocalizedContentsSize( |
IDS_JOIN_WIFI_NETWORK_DIALOG_WIDTH_CHARS, |
IDS_JOIN_WIFI_NETWORK_DIALOG_MINIMUM_HEIGHT_LINES)); |
@@ -336,7 +336,7 @@ void ControlledSettingIndicatorView::Update( |
PreferredSizeChanged(); |
} |
-gfx::Size ControlledSettingIndicatorView::GetPreferredSize() { |
+gfx::Size ControlledSettingIndicatorView::GetPreferredSize() const { |
return (managed_ && visible()) ? image_view_->GetPreferredSize() |
: gfx::Size(); |
} |