summaryrefslogtreecommitdiffstats
path: root/chrome/browser/download/download_query.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/download/download_query.cc')
-rw-r--r--chrome/browser/download/download_query.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/download/download_query.cc b/chrome/browser/download/download_query.cc
index f800888..456f4cc 100644
--- a/chrome/browser/download/download_query.cc
+++ b/chrome/browser/download/download_query.cc
@@ -25,9 +25,9 @@
#include "base/values.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/common/pref_names.h"
-#include "components/url_formatter/url_formatter.h"
#include "content/public/browser/content_browser_client.h"
#include "content/public/browser/download_item.h"
+#include "net/base/net_util.h"
#include "third_party/re2/re2/re2.h"
#include "url/gurl.h"
@@ -77,7 +77,7 @@ static bool MatchesQuery(
base::string16 url_formatted = url_raw;
if (item.GetBrowserContext()) {
Profile* profile = Profile::FromBrowserContext(item.GetBrowserContext());
- url_formatted = url_formatter::FormatUrl(
+ url_formatted = net::FormatUrl(
item.GetOriginalUrl(),
profile->GetPrefs()->GetString(prefs::kAcceptLanguages));
}