Index: chrome/browser/download/download_manager_unittest.cc |
diff --git a/chrome/browser/download/download_manager_unittest.cc b/chrome/browser/download/download_manager_unittest.cc |
index fe82fe88c592e3e07d28c8e6cf35f2b9722b9baf..1fa8b2499fa881e85e82c78c8f3e717d9071f081 100644 |
--- a/chrome/browser/download/download_manager_unittest.cc |
+++ b/chrome/browser/download/download_manager_unittest.cc |
@@ -10,8 +10,8 @@ |
#include "base/i18n/rtl.h" |
#include "base/memory/scoped_ptr.h" |
#include "base/stl_util.h" |
-#include "base/string_util.h" |
#include "base/string16.h" |
+#include "base/string_util.h" |
#include "base/utf_string_conversions.h" |
#include "build/build_config.h" |
#include "chrome/browser/download/download_create_info.h" |
@@ -58,7 +58,8 @@ class DownloadManagerTest : public testing::Test { |
} |
void AddDownloadToFileManager(int id, DownloadFile* download_file) { |
- file_manager()->downloads_[id] = download_file; |
+ file_manager()->downloads_[DownloadId(download_manager_.get(), id)] = |
+ download_file; |
} |
void OnAllDataSaved(int32 download_id, int64 size, const std::string& hash) { |