Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5533)

Unified Diff: chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc

Issue 790783003: [Password Generation] Fix breakage that prevents filling of generated passwords (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/password_manager/content/browser/content_password_manager_driver.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
« no previous file with comments | « no previous file | components/password_manager/content/browser/content_password_manager_driver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698