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

Unified Diff: components/password_manager/core/browser/password_form_manager.cc

Issue 780183002: Remove ContentPasswordManagerDriver::GetAutofillManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: vabr review 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
Index: components/password_manager/core/browser/password_form_manager.cc
diff --git a/components/password_manager/core/browser/password_form_manager.cc b/components/password_manager/core/browser/password_form_manager.cc
index 7cff94c2de0fe9be0b1044f26b221e4054e15f3c..8a01e63e80a1b92e64723997ad0adc18ee5946be 100644
--- a/components/password_manager/core/browser/password_form_manager.cc
+++ b/components/password_manager/core/browser/password_form_manager.cc
@@ -780,7 +780,7 @@ void PasswordFormManager::UploadPasswordForm(
const autofill::FormData& form_data,
const autofill::ServerFieldType& password_type) {
autofill::AutofillManager* autofill_manager =
- driver_->GetAutofillManager();
+ client_->GetAutofillManagerForMainFrame();
if (!autofill_manager)
return;

Powered by Google App Engine
This is Rietveld 408576698