| Index: chrome/browser/ui/gtk/browser_window_gtk.cc
|
| diff --git a/chrome/browser/ui/gtk/browser_window_gtk.cc b/chrome/browser/ui/gtk/browser_window_gtk.cc
|
| index bfa8fe878f1b678ebf75956b22cca33e20b0baed..0170340ecd40db6edb94063b50bc5b34e6b47f3e 100644
|
| --- a/chrome/browser/ui/gtk/browser_window_gtk.cc
|
| +++ b/chrome/browser/ui/gtk/browser_window_gtk.cc
|
| @@ -1290,13 +1290,15 @@ void BrowserWindowGtk::ShowAvatarBubbleFromAvatarButton() {
|
| titlebar_->avatar_button()->ShowAvatarBubble();
|
| }
|
|
|
| -void BrowserWindowGtk::ShowPasswordGenerationBubble(const gfx::Rect& rect) {
|
| +void BrowserWindowGtk::ShowPasswordGenerationBubble(const gfx::Rect& rect,
|
| + int max_length) {
|
| WebContents* web_contents = browser_->GetSelectedWebContents();
|
| if (!web_contents || !web_contents->GetContentNativeView()) {
|
| return;
|
| }
|
|
|
| new PasswordGenerationBubbleGtk(rect,
|
| + max_length,
|
| web_contents->GetContentNativeView(),
|
| browser()->profile(),
|
| web_contents->GetRenderViewHost());
|
|
|