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..e783fac5f7b2a5345af3728c235688d167c07a26 100644 |
--- a/chrome/browser/ui/gtk/browser_window_gtk.cc |
+++ b/chrome/browser/ui/gtk/browser_window_gtk.cc |
@@ -1290,7 +1290,9 @@ void BrowserWindowGtk::ShowAvatarBubbleFromAvatarButton() { |
titlebar_->avatar_button()->ShowAvatarBubble(); |
} |
-void BrowserWindowGtk::ShowPasswordGenerationBubble(const gfx::Rect& rect) { |
+void BrowserWindowGtk::ShowPasswordGenerationBubble( |
+ const gfx::Rect& rect, |
+ autofill::PasswordGenerator* password_generator) { |
WebContents* web_contents = browser_->GetSelectedWebContents(); |
if (!web_contents || !web_contents->GetContentNativeView()) { |
return; |
@@ -1299,7 +1301,8 @@ void BrowserWindowGtk::ShowPasswordGenerationBubble(const gfx::Rect& rect) { |
new PasswordGenerationBubbleGtk(rect, |
web_contents->GetContentNativeView(), |
browser()->profile(), |
- web_contents->GetRenderViewHost()); |
+ web_contents->GetRenderViewHost(), |
+ password_generator); |
} |
void BrowserWindowGtk::ConfirmBrowserCloseWithPendingDownloads() { |