Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1980)

Unified Diff: chrome/browser/chromeos/options/network_config_view.cc

Issue 2871253002: Chrome OS: Fix the chopped Wi-Fi Network Configuration Dialog (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 607c3c93b3786c4821dde4bdcb93b2ae709dc333..39721df9239e1506eafc1db16454beb4aadbee8b 100644
--- a/chrome/browser/chromeos/options/network_config_view.cc
+++ b/chrome/browser/chromeos/options/network_config_view.cc
@@ -234,7 +234,7 @@ void NetworkConfigView::ShowAdvancedView() {
true /* show_8021x */);
AddChildView(child_config_view_);
// Resize the window to be able to hold the new widgets.
- gfx::Size size = GetWidget()->client_view()->GetPreferredSize();
+ gfx::Size size = GetWidget()->non_client_view()->GetPreferredSize();
gfx::Size predefined_size = views::Widget::GetLocalizedContentsSize(
IDS_JOIN_WIFI_NETWORK_DIALOG_ADVANCED_WIDTH_CHARS,
IDS_JOIN_WIFI_NETWORK_DIALOG_ADVANCED_MINIMUM_HEIGHT_LINES);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698