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

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

Issue 2822045: Fix a bug that caused Languages and Input dialog not to be redrawn. (Closed) Base URL: git://git.chromium.org/chromium.git
Patch Set: fix comment Created 10 years, 5 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/language_config_view.cc
diff --git a/chrome/browser/chromeos/options/language_config_view.cc b/chrome/browser/chromeos/options/language_config_view.cc
index fc57503c5d798e97f06af974b46ba08384aa7cf3..461e5ea9bb0e93381c3fac53c5472aab5f36b311 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) {
« 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