diff options
Diffstat (limited to 'content/browser/download/download_item_impl.cc')
-rw-r--r-- | content/browser/download/download_item_impl.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/content/browser/download/download_item_impl.cc b/content/browser/download/download_item_impl.cc index e5a08e8..437209f 100644 --- a/content/browser/download/download_item_impl.cc +++ b/content/browser/download/download_item_impl.cc @@ -685,7 +685,7 @@ bool DownloadItemImpl::MatchesQuery(const string16& query) const { // "/%E4%BD%A0%E5%A5%BD%E4%BD%A0%E5%A5%BD" std::string languages; languages = content::GetContentClient()->browser()->GetAcceptLangs( - BrowserContext()); + GetBrowserContext()); string16 url_formatted(net::FormatUrl(GetURL(), languages)); if (base::i18n::StringSearchIgnoringCaseAndAccents(query, url_formatted)) return true; @@ -757,8 +757,8 @@ TabContents* DownloadItemImpl::GetTabContents() const { return NULL; } -content::BrowserContext* DownloadItemImpl::BrowserContext() const { - return delegate_->BrowserContext(); +content::BrowserContext* DownloadItemImpl::GetBrowserContext() const { + return delegate_->GetBrowserContext(); } FilePath DownloadItemImpl::GetTargetFilePath() const { |