Index: chrome/browser/download/download_history.cc |
=================================================================== |
--- chrome/browser/download/download_history.cc (revision 86518) |
+++ chrome/browser/download/download_history.cc (working copy) |
@@ -48,9 +48,9 @@ |
if (referrer_url.is_valid()) { |
HistoryService* hs = profile_->GetHistoryService(Profile::EXPLICIT_ACCESS); |
if (hs) { |
- HistoryService::Handle handle = hs->GetVisitCountToHost(referrer_url, |
- &history_consumer_, |
- NewCallback(this, &DownloadHistory::OnGotVisitCountToHost)); |
+ HistoryService::Handle handle = |
+ hs->GetVisibleVisitCountToHost(referrer_url, &history_consumer_, |
+ NewCallback(this, &DownloadHistory::OnGotVisitCountToHost)); |
visited_before_requests_[handle] = std::make_pair(download_id, callback); |
return; |
} |