| 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 88fdc57496a20e4ae1aec3f9b047470cbec355af..57f4ae324ac5ec9b153c37684b6f8cb841734ac3 100644
|
| --- a/components/password_manager/core/browser/password_form_manager.cc
|
| +++ b/components/password_manager/core/browser/password_form_manager.cc
|
| @@ -161,8 +161,8 @@ PasswordFormManager::MatchResultMask PasswordFormManager::DoesManage(
|
| // we also consider the actions a match. This is to accommodate cases where
|
| // the original login form is on an HTTP page, but a failed login attempt
|
| // redirects to HTTPS (as in http://example.org -> https://example.org/auth).
|
| - if (!origins_match && !observed_form_.origin.SchemeIsSecure() &&
|
| - form.origin.SchemeIsSecure()) {
|
| + if (!origins_match && !observed_form_.origin.SchemeIsCryptographic() &&
|
| + form.origin.SchemeIsCryptographic()) {
|
| const std::string& old_path = observed_form_.origin.path();
|
| const std::string& new_path = form.origin.path();
|
| origins_match =
|
|
|