summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/options/languages_page_view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/options/languages_page_view.cc')
-rw-r--r--chrome/browser/views/options/languages_page_view.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/views/options/languages_page_view.cc b/chrome/browser/views/options/languages_page_view.cc
index aa0e3b3..27a00e5 100644
--- a/chrome/browser/views/options/languages_page_view.cc
+++ b/chrome/browser/views/options/languages_page_view.cc
@@ -293,7 +293,7 @@ void AddLanguageWindowView::Layout() {
CSize sz;
accept_language_combobox_->GetPreferredSize(&sz);
accept_language_combobox_->SetBounds(kDialogPadding, kDialogPadding,
- GetWidth() - 2*kDialogPadding, sz.cy);
+ width() - 2*kDialogPadding, sz.cy);
}
void AddLanguageWindowView::GetPreferredSize(CSize* out) {