| Index: chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc
|
| diff --git a/chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc b/chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc
|
| index 7c55fabad16820a73c643fa342d674101406e972..8d174be00050aed8bdda1365f2096636ffc1b358 100644
|
| --- a/chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc
|
| +++ b/chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc
|
| @@ -149,10 +149,7 @@ void PasswordGenerationPopupControllerImpl::PasswordAccepted() {
|
| if (!display_password_)
|
| return;
|
|
|
| - web_contents()->GetRenderViewHost()->Send(
|
| - new AutofillMsg_GeneratedPasswordAccepted(
|
| - web_contents()->GetRenderViewHost()->GetRoutingID(),
|
| - current_password_));
|
| + driver_->GeneratedPasswordAccepted(current_password_);
|
| password_manager_->SetFormHasGeneratedPassword(driver_, form_);
|
| Hide();
|
| }
|
|
|