Index: content/browser/download/download_item_impl_unittest.cc |
diff --git a/content/browser/download/download_item_impl_unittest.cc b/content/browser/download/download_item_impl_unittest.cc |
index 7a186af7659e9d242a7d1985e78fc8fd8b211a68..c2e0b9116b83d0a190c8ed0fb378329b49a580fc 100644 |
--- a/content/browser/download/download_item_impl_unittest.cc |
+++ b/content/browser/download/download_item_impl_unittest.cc |
@@ -70,14 +70,14 @@ class MockRequestHandle : public DownloadRequestHandleInterface { |
class MockDownloadFileFactory : public content::DownloadFileFactory { |
public: |
content::DownloadFile* CreateFile( |
- DownloadCreateInfo* info, |
+ scoped_ptr<DownloadCreateInfo> info, |
scoped_ptr<content::ByteStreamReader> stream_reader, |
DownloadManager* mgr, |
bool calculate_hash, |
const net::BoundNetLog& bound_net_log) { |
return MockCreateFile( |
- info, stream_reader.get(), info->request_handle, mgr, calculate_hash, |
- bound_net_log); |
+ info.get(), stream_reader.get(), info->request_handle, mgr, |
+ calculate_hash, bound_net_log); |
} |
MOCK_METHOD6(MockCreateFile, |