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

Unified Diff: chrome/browser/ui/passwords/manage_passwords_test.cc

Issue 1402803002: [Password Manager] Pass origin of the form which was autofilled in order to display it in managemen… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months 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: chrome/browser/ui/passwords/manage_passwords_test.cc
diff --git a/chrome/browser/ui/passwords/manage_passwords_test.cc b/chrome/browser/ui/passwords/manage_passwords_test.cc
index 2b81ae2f699f8f60238716a003f717ad7444df33..c57cbf865f11b477c5804acb47c0c382e6e27d3d 100644
--- a/chrome/browser/ui/passwords/manage_passwords_test.cc
+++ b/chrome/browser/ui/passwords/manage_passwords_test.cc
@@ -48,7 +48,7 @@ void ManagePasswordsTest::SetupManagingPasswords() {
autofill::PasswordFormMap map;
map.insert(kTestUsername,
make_scoped_ptr(new autofill::PasswordForm(*test_form())));
- GetController()->OnPasswordAutofilled(map);
+ GetController()->OnPasswordAutofilled(map, map.begin()->second->origin);
}
void ManagePasswordsTest::SetupPendingPassword() {

Powered by Google App Engine
This is Rietveld 408576698