| Index: components/password_manager/core/browser/password_autofill_manager.cc
|
| diff --git a/components/password_manager/core/browser/password_autofill_manager.cc b/components/password_manager/core/browser/password_autofill_manager.cc
|
| index d585a4778b187c4dcb378bf35e58cdc45e316c02..a9b6644d8d25ad3f018facdf2255edffb8cd2694 100644
|
| --- a/components/password_manager/core/browser/password_autofill_manager.cc
|
| +++ b/components/password_manager/core/browser/password_autofill_manager.cc
|
| @@ -64,8 +64,8 @@ void GetSuggestions(const autofill::PasswordFormFillData& fill_data,
|
| const base::string16& current_username,
|
| std::vector<autofill::Suggestion>* suggestions,
|
| bool show_all) {
|
| - if (show_all ||
|
| - StartsWith(fill_data.username_field.value, current_username, false)) {
|
| + if (show_all || base::StartsWith(fill_data.username_field.value,
|
| + current_username, false)) {
|
| autofill::Suggestion suggestion(
|
| ReplaceEmptyUsername(fill_data.username_field.value));
|
| suggestion.label = GetHumanReadableRealm(fill_data.preferred_realm);
|
| @@ -74,7 +74,7 @@ void GetSuggestions(const autofill::PasswordFormFillData& fill_data,
|
| }
|
|
|
| for (const auto& login : fill_data.additional_logins) {
|
| - if (show_all || StartsWith(login.first, current_username, false)) {
|
| + if (show_all || base::StartsWith(login.first, current_username, false)) {
|
| autofill::Suggestion suggestion(ReplaceEmptyUsername(login.first));
|
| suggestion.label = GetHumanReadableRealm(login.second.realm);
|
| suggestion.frontend_id = autofill::POPUP_ITEM_ID_PASSWORD_ENTRY;
|
| @@ -85,7 +85,7 @@ void GetSuggestions(const autofill::PasswordFormFillData& fill_data,
|
| for (const auto& usernames : fill_data.other_possible_usernames) {
|
| for (size_t i = 0; i < usernames.second.size(); ++i) {
|
| if (show_all ||
|
| - StartsWith(usernames.second[i], current_username, false)) {
|
| + base::StartsWith(usernames.second[i], current_username, false)) {
|
| autofill::Suggestion suggestion(
|
| ReplaceEmptyUsername(usernames.second[i]));
|
| suggestion.label = GetHumanReadableRealm(usernames.first.realm);
|
|
|