| Index: chrome/browser/ui/views/frame/browser_view.cc
|
| ===================================================================
|
| --- chrome/browser/ui/views/frame/browser_view.cc (revision 108874)
|
| +++ chrome/browser/ui/views/frame/browser_view.cc (working copy)
|
| @@ -2603,15 +2603,14 @@
|
|
|
| void BrowserView::ShowAvatarBubble(TabContents* tab_contents,
|
| const gfx::Rect& rect) {
|
| - gfx::Point origin(rect.right(), rect.bottom());
|
| + gfx::Point origin(rect.origin());
|
| views::View::ConvertPointToScreen(GetTabContentsContainerView(), &origin);
|
| - gfx::Rect bounds;
|
| - bounds.set_origin(origin);
|
| + gfx::Rect bounds(origin, rect.size());
|
|
|
| AvatarMenuBubbleView* bubble_view = new AvatarMenuBubbleView(browser_.get());
|
| // Bubble::Show() takes ownership of the view.
|
| - Bubble::Show(this->GetWidget(), bounds,
|
| - views::BubbleBorder::TOP_RIGHT,
|
| + Bubble::Show(this->GetWidget(), bounds, views::BubbleBorder::TOP_RIGHT,
|
| + views::BubbleBorder::ALIGN_EDGE_TO_ANCHOR_EDGE,
|
| bubble_view, bubble_view);
|
| }
|
|
|
|
|