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 4b408ddf02e91333860088757aa06c4efd614a87..30b0a7ad82812bb4aea338d4c5e0ba4c03f48d3b 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(); |
} |