| Index: chrome/browser/ui/views/profile_chooser_view.cc
|
| diff --git a/chrome/browser/ui/views/profile_chooser_view.cc b/chrome/browser/ui/views/profile_chooser_view.cc
|
| index 5e34a6f3fbc40499d15cb4ab4c7432de7020643b..5bfc9e2cb928b87bc7df1d9c5318778a1edb2792 100644
|
| --- a/chrome/browser/ui/views/profile_chooser_view.cc
|
| +++ b/chrome/browser/ui/views/profile_chooser_view.cc
|
| @@ -44,6 +44,7 @@ const int kLargeImageSide = 64;
|
| const int kSmallImageSide = 32;
|
| const int kMinMenuWidth = 250;
|
| const int kButtonHeight = 29;
|
| +const int kArrowHeight = 10;
|
|
|
| // Current profile avatar image.
|
| views::View* CreateProfileImageView(const gfx::Image& icon) {
|
| @@ -195,6 +196,7 @@ void ProfileChooserView::ShowBubble(
|
| profile_bubble_->set_close_on_deactivate(close_on_deactivate_);
|
| profile_bubble_->SetAlignment(border_alignment);
|
| profile_bubble_->GetWidget()->Show();
|
| + profile_bubble_->SetArrowPaintType(views::BubbleBorder::PAINT_NONE);
|
| }
|
|
|
| // static
|
| @@ -216,6 +218,8 @@ ProfileChooserView::ProfileChooserView(views::View* anchor_view,
|
| browser_(browser) {
|
| // Reset the default margins inherited from the BubbleDelegateView.
|
| set_margins(gfx::Insets());
|
| + // Compensate for built-in vertical padding in the anchor view's image.
|
| + set_anchor_view_insets(gfx::Insets(kArrowHeight, 0, kArrowHeight, 0));
|
|
|
| ResetLinksAndButtons();
|
|
|
|
|