Index: chrome/browser/history/history_backend.cc |
diff --git a/chrome/browser/history/history_backend.cc b/chrome/browser/history/history_backend.cc |
index 6f5d89f9477a3ca6783fa0d407b93ce75bb478a7..eabd41a4053154eb0f527d39a997c31b824789b9 100644 |
--- a/chrome/browser/history/history_backend.cc |
+++ b/chrome/browser/history/history_backend.cc |
@@ -1132,13 +1132,13 @@ void HistoryBackend::UpdateDownloadPath(const FilePath& path, |
// Create a new download entry and pass back the db_handle to it. |
void HistoryBackend::CreateDownload( |
scoped_refptr<DownloadCreateRequest> request, |
- const DownloadCreateInfo& create_info) { |
+ const DownloadHistoryInfo& history_info) { |
int64 db_handle = 0; |
if (!request->canceled()) { |
if (db_.get()) |
- db_handle = db_->CreateDownload(create_info); |
- request->ForwardResult(DownloadCreateRequest::TupleType(create_info, |
- db_handle)); |
+ db_handle = db_->CreateDownload(history_info); |
+ request->ForwardResult(DownloadCreateRequest::TupleType( |
+ history_info.download_id, db_handle)); |
} |
} |