| Index: chrome/browser/ui/toolbar/toolbar_model_impl.cc
|
| diff --git a/chrome/browser/ui/toolbar/toolbar_model_impl.cc b/chrome/browser/ui/toolbar/toolbar_model_impl.cc
|
| index 1f5491ce304d74e2d22305ad84568f0d34c148ea..b768a140c1f748721cf0ef0c26b0cb014ea5aef6 100644
|
| --- a/chrome/browser/ui/toolbar/toolbar_model_impl.cc
|
| +++ b/chrome/browser/ui/toolbar/toolbar_model_impl.cc
|
| @@ -20,6 +20,7 @@
|
| #include "components/google/core/browser/google_util.h"
|
| #include "components/omnibox/autocomplete_input.h"
|
| #include "components/omnibox/autocomplete_match.h"
|
| +#include "components/url_formatter/url_formatter.h"
|
| #include "content/public/browser/cert_store.h"
|
| #include "content/public/browser/navigation_controller.h"
|
| #include "content/public/browser/navigation_entry.h"
|
| @@ -29,7 +30,6 @@
|
| #include "content/public/common/ssl_status.h"
|
| #include "grit/components_scaled_resources.h"
|
| #include "grit/theme_resources.h"
|
| -#include "net/base/net_util.h"
|
| #include "net/cert/cert_status_flags.h"
|
| #include "net/cert/x509_certificate.h"
|
| #include "net/ssl/ssl_connection_status_flags.h"
|
| @@ -68,8 +68,9 @@ base::string16 ToolbarModelImpl::GetFormattedURL(size_t* prefix_end) const {
|
| // and pastes it into another program, that program may think the URL ends at
|
| // the space.
|
| return AutocompleteInput::FormattedStringWithEquivalentMeaning(
|
| - url, net::FormatUrl(url, languages, net::kFormatUrlOmitAll,
|
| - net::UnescapeRule::NORMAL, NULL, prefix_end, NULL),
|
| + url, url_formatter::FormatUrl(
|
| + url, languages, url_formatter::kFormatUrlOmitAll,
|
| + net::UnescapeRule::NORMAL, nullptr, prefix_end, nullptr),
|
| ChromeAutocompleteSchemeClassifier(profile));
|
| }
|
|
|
|
|