Index: components/password_manager/core/browser/affiliation_utils.cc |
diff --git a/components/password_manager/core/browser/affiliation_utils.cc b/components/password_manager/core/browser/affiliation_utils.cc |
index 3cdc9eafb7a1ebc52a2e9cc77ae85bdaf7ce35a4..b89c4fcb3f6c567d26ea3211d913f416e7b712d7 100644 |
--- a/components/password_manager/core/browser/affiliation_utils.cc |
+++ b/components/password_manager/core/browser/affiliation_utils.cc |
@@ -14,6 +14,7 @@ |
#include "base/strings/string_util.h" |
#include "components/autofill/core/common/password_form.h" |
#include "components/password_manager/core/common/password_manager_switches.h" |
+#include "components/url_formatter/url_formatter.h" |
#include "components/variations/variations_associated_data.h" |
#include "net/base/escape.h" |
#include "url/third_party/mozilla/url_parse.h" |
@@ -343,6 +344,8 @@ std::string GetHumanReadableOrigin(const autofill::PasswordForm& password_form, |
password_form.signon_realm); |
if (facet_uri.IsValidAndroidFacetURI()) |
return facet_uri.scheme() + "://" + facet_uri.android_package_name(); |
- return base::UTF16ToUTF8(net::FormatUrl(password_form.origin, languages)); |
+ return base::UTF16ToUTF8( |
+ url_formatter::FormatUrl(password_form.origin, languages)); |
} |
+ |
} // namespace password_manager |