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 5fedd953cc6046e86be0fa3c5d4ad4ad04e28ac3..e996c05728267f07c7f071d98efdc29e66ca4106 100644 |
--- a/chrome/browser/ui/views/profiles/profile_chooser_view.cc |
+++ b/chrome/browser/ui/views/profiles/profile_chooser_view.cc |
@@ -225,8 +225,10 @@ class EditableProfileName : public views::LabelButton, |
SetFontList(medium_font_list); |
SetHorizontalAlignment(gfx::ALIGN_CENTER); |
- if (!is_editing_allowed) |
+ if (!is_editing_allowed) { |
+ SetBorder(views::Border::CreateEmptyBorder(2, 0, 2, 0)); |
return; |
+ } |
// Show an "edit" pencil icon when hovering over. In the default state, |
// we need to create an empty placeholder of the correct size, so that |