Index: content/browser/download/download_item.cc |
diff --git a/content/browser/download/download_item.cc b/content/browser/download/download_item.cc |
index b8dfbd1969491e844918d6727dad197abbc1f199..a20f7246f8bcc101a4b5a2dd43231e2a4f2d19bc 100644 |
--- a/content/browser/download/download_item.cc |
+++ b/content/browser/download/download_item.cc |
@@ -645,7 +645,8 @@ bool DownloadItem::MatchesQuery(const string16& query) const { |
std::string languages; |
TabContents* tab = request_handle_->GetTabContents(); |
if (tab) |
jam
2011/11/07 16:56:39
nit: add brace brackets now
|
- languages = content::GetContentClient()->browser()->GetAcceptLangs(tab); |
+ languages = content::GetContentClient()->browser()->GetAcceptLangs( |
+ tab->browser_context()); |
string16 url_formatted(net::FormatUrl(GetURL(), languages)); |
if (base::i18n::StringSearchIgnoringCaseAndAccents(query, url_formatted)) |
return true; |