summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/options
diff options
context:
space:
mode:
authorsatorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-05 11:51:21 +0000
committersatorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-05 11:51:21 +0000
commit9ab2a75e3dc00d3a8087f8713d930a2a1401f2c8 (patch)
treeac0a00a79a55d330b492d7ea718fe0945554e9d4 /chrome/browser/chromeos/options
parent0569d86c57dd9385556e4ab4792e74d552c9df59 (diff)
downloadchromium_src-9ab2a75e3dc00d3a8087f8713d930a2a1401f2c8.zip
chromium_src-9ab2a75e3dc00d3a8087f8713d930a2a1401f2c8.tar.gz
chromium_src-9ab2a75e3dc00d3a8087f8713d930a2a1401f2c8.tar.bz2
Fix a bug that caused Languages and Input dialog not to be redrawn.
Note that this change works even if 51628 is reverted. BUG=chromium-os:4555 TEST=manually Review URL: http://codereview.chromium.org/2822045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51636 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/options')
-rw-r--r--chrome/browser/chromeos/options/language_config_view.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/chromeos/options/language_config_view.cc b/chrome/browser/chromeos/options/language_config_view.cc
index fc57503..461e5ea 100644
--- a/chrome/browser/chromeos/options/language_config_view.cc
+++ b/chrome/browser/chromeos/options/language_config_view.cc
@@ -230,9 +230,9 @@ void LanguageConfigView::OnSelectionChanged() {
// Add the per language config view to the right area.
right_container_->AddChildView(CreatePerLanguageConfigView(language_code));
MaybeDisableLastCheckbox();
- // Let the parent container layout again. This is needed to the the
- // contents on the right to display.
- root_container_->Layout();
+ // Layout the right container. This is needed for the contents on the
+ // right to be displayed properly.
+ right_container_->Layout();
}
std::wstring LanguageConfigView::GetText(int row, int column_id) {