Index: content/browser/download/base_file.cc |
diff --git a/content/browser/download/base_file.cc b/content/browser/download/base_file.cc |
index cc7871fcedde3d1a34ba8488651b4e4f96a7b20a..cad472f5adc3c337afba57b871a5d9b9098c8ba9 100644 |
--- a/content/browser/download/base_file.cc |
+++ b/content/browser/download/base_file.cc |
@@ -209,12 +209,12 @@ BaseFile::BaseFile(const FilePath& full_path, |
int64 received_bytes, |
bool calculate_hash, |
const std::string& hash_state, |
- const linked_ptr<net::FileStream>& file_stream, |
+ scoped_ptr<net::FileStream> file_stream, |
const net::BoundNetLog& bound_net_log) |
: full_path_(full_path), |
source_url_(source_url), |
referrer_url_(referrer_url), |
- file_stream_(file_stream), |
+ file_stream_(file_stream.Pass()), |
bytes_so_far_(received_bytes), |
start_tick_(base::TimeTicks::Now()), |
calculate_hash_(calculate_hash), |