| Index: components/omnibox/browser/search_provider.cc
 | 
| diff --git a/components/omnibox/browser/search_provider.cc b/components/omnibox/browser/search_provider.cc
 | 
| index 7f4aab1bea67bc7ce6f33fbd9396c859d273406a..9067f859f486a4dac6f537841c04baecac68c0c7 100644
 | 
| --- a/components/omnibox/browser/search_provider.cc
 | 
| +++ b/components/omnibox/browser/search_provider.cc
 | 
| @@ -31,11 +31,11 @@
 | 
|  #include "components/search/search.h"
 | 
|  #include "components/search_engines/template_url_prepopulate_data.h"
 | 
|  #include "components/search_engines/template_url_service.h"
 | 
| -#include "components/url_formatter/url_formatter.h"
 | 
|  #include "components/variations/net/variations_http_header_provider.h"
 | 
|  #include "grit/components_strings.h"
 | 
|  #include "net/base/escape.h"
 | 
|  #include "net/base/load_flags.h"
 | 
| +#include "net/base/net_util.h"
 | 
|  #include "net/http/http_request_headers.h"
 | 
|  #include "net/url_request/url_fetcher.h"
 | 
|  #include "net/url_request/url_request_status.h"
 | 
| @@ -1379,9 +1379,8 @@
 | 
|        navigation.formatted_url().find(input) : prefix->prefix.length();
 | 
|    bool trim_http = !AutocompleteInput::HasHTTPScheme(input) &&
 | 
|        (!prefix || (match_start != 0));
 | 
| -  const url_formatter::FormatUrlTypes format_types =
 | 
| -      url_formatter::kFormatUrlOmitAll &
 | 
| -      ~(trim_http ? 0 : url_formatter::kFormatUrlOmitHTTP);
 | 
| +  const net::FormatUrlTypes format_types =
 | 
| +      net::kFormatUrlOmitAll & ~(trim_http ? 0 : net::kFormatUrlOmitHTTP);
 | 
|  
 | 
|    const std::string languages(client()->GetAcceptLanguages());
 | 
|    size_t inline_autocomplete_offset = (prefix == NULL) ?
 | 
| @@ -1389,9 +1388,9 @@
 | 
|    match.fill_into_edit +=
 | 
|        AutocompleteInput::FormattedStringWithEquivalentMeaning(
 | 
|            navigation.url(),
 | 
| -          url_formatter::FormatUrl(navigation.url(), languages, format_types,
 | 
| -                                   net::UnescapeRule::SPACES, nullptr, nullptr,
 | 
| -                                   &inline_autocomplete_offset),
 | 
| +          net::FormatUrl(navigation.url(), languages, format_types,
 | 
| +                         net::UnescapeRule::SPACES, NULL, NULL,
 | 
| +                         &inline_autocomplete_offset),
 | 
|            client()->GetSchemeClassifier());
 | 
|    // Preserve the forced query '?' prefix in |match.fill_into_edit|.
 | 
|    // Otherwise, user edits to a suggestion would show non-Search results.
 | 
| 
 |