Chromium Code Reviews| Index: chrome/browser/ui/views/profiles/profile_chooser_view.cc |
| diff --git a/chrome/browser/ui/views/profiles/profile_chooser_view.cc b/chrome/browser/ui/views/profiles/profile_chooser_view.cc |
| index f800d2d2cc5292d4d1e988c1f2cc4dab36c7bdff..4f5bbbca35eb4e8b5f24d1077e8dd5e4683d79de 100644 |
| --- a/chrome/browser/ui/views/profiles/profile_chooser_view.cc |
| +++ b/chrome/browser/ui/views/profiles/profile_chooser_view.cc |
| @@ -395,6 +395,7 @@ class EditableProfileName : public views::View, |
| const gfx::FontList& medium_font_list = |
| rb->GetFontList(ui::ResourceBundle::MediumFont); |
| button_->SetFontList(medium_font_list); |
| + AddChildView(button_); |
| if (!is_editing_allowed) { |
| button_->SetBorder(views::Border::CreateEmptyBorder(2, 0, 2, 0)); |
| @@ -431,7 +432,6 @@ class EditableProfileName : public views::View, |
| SetLayoutManager( |
| new views::BoxLayout(views::BoxLayout::kVertical, 0, 0, 0)); |
|
Peter Kasting
2016/03/25 04:34:45
We don't need this to be moved up as well, because
Shu Chen
2016/03/25 05:48:11
Yes, that is right.
Shu Chen
2016/03/27 08:08:06
Sorry, the issue still repro on the latest canary.
|
| - AddChildView(button_); |
| AddChildView(profile_name_textfield_); |
| } |