| Index: chrome/browser/ui/views/frame/browser_view.cc
|
| diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc
|
| index eff052e4305da3b3e31d03d0ebde8abca37316e3..3bc3828974a9c8037ae629c1620b8de30f89339a 100644
|
| --- a/chrome/browser/ui/views/frame/browser_view.cc
|
| +++ b/chrome/browser/ui/views/frame/browser_view.cc
|
| @@ -2403,7 +2403,8 @@ void BrowserView::ShowAvatarBubbleFromAvatarButton() {
|
| button->ShowAvatarBubble();
|
| }
|
|
|
| -void BrowserView::ShowPasswordGenerationBubble(const gfx::Rect& rect) {
|
| +void BrowserView::ShowPasswordGenerationBubble(const gfx::Rect& rect,
|
| + int max_length) {
|
| // Create a rect in the content bounds that the bubble will point to.
|
| gfx::Point origin(rect.origin());
|
| views::View::ConvertPointToScreen(GetTabContentsContainerView(), &origin);
|
| @@ -2416,6 +2417,7 @@ void BrowserView::ShowPasswordGenerationBubble(const gfx::Rect& rect) {
|
|
|
| PasswordGenerationBubbleView* bubble =
|
| new PasswordGenerationBubbleView(bounds,
|
| + max_length,
|
| this,
|
| web_contents->GetRenderViewHost());
|
| views::BubbleDelegateView::CreateBubble(bubble);
|
|
|