Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(237)

Unified Diff: content/browser/download/save_file.cc

Issue 11028131: Shift passage of FileStream in downloads system to be by scoped_ptr<>. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Incorporated Al's comments. Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/download/save_file.cc
diff --git a/content/browser/download/save_file.cc b/content/browser/download/save_file.cc
index a5f947b74731bb1ff2a3c4c677c4e00c78f0d77b..cd0acba48237e7a9d4efc774158dba1a1d8280cd 100644
--- a/content/browser/download/save_file.cc
+++ b/content/browser/download/save_file.cc
@@ -21,7 +21,7 @@ SaveFile::SaveFile(const SaveFileCreateInfo* info, bool calculate_hash)
0,
calculate_hash,
"",
- linked_ptr<net::FileStream>(),
+ scoped_ptr<net::FileStream>(),
net::BoundNetLog()),
info_(info) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
« no previous file with comments | « content/browser/download/drag_download_file.cc ('k') | content/browser/renderer_host/buffered_resource_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698