diff options
author | noms@chromium.org <noms@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-05 07:24:27 +0000 |
---|---|---|
committer | noms@chromium.org <noms@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-05 07:24:27 +0000 |
commit | b0ad439aff1bfe3ff82963fd03211acbb2b16648 (patch) | |
tree | 00c7ff70921ccbd25ec8c57bb9fd6ba9e80dc954 | |
parent | 1c175a5cb01b5517ff81209636c28b5ceae375f2 (diff) | |
download | chromium_src-b0ad439aff1bfe3ff82963fd03211acbb2b16648.zip chromium_src-b0ad439aff1bfe3ff82963fd03211acbb2b16648.tar.gz chromium_src-b0ad439aff1bfe3ff82963fd03211acbb2b16648.tar.bz2 |
Profile chooser bubble overlaps avatar button and shouldn't.
There was a change in BubbleBorder (https://codereview.chromium.org/53703002) that removed the 10px insets on the border, so we no longer need to compensate for them.
BUG=NONE
TEST=With --new-profile-management enabled, click on the avatar button.
The bubble should show up just below it.
Review URL: https://codereview.chromium.org/57513004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232943 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/ui/views/profile_chooser_view.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/chrome/browser/ui/views/profile_chooser_view.cc b/chrome/browser/ui/views/profile_chooser_view.cc index b7c827d..f9bfa9d 100644 --- a/chrome/browser/ui/views/profile_chooser_view.cc +++ b/chrome/browser/ui/views/profile_chooser_view.cc @@ -51,7 +51,6 @@ 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) { @@ -225,8 +224,6 @@ 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(); |