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

Unified Diff: content/browser/renderer_host/buffered_resource_handler.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
« no previous file with comments | « content/browser/download/save_file.cc ('k') | content/browser/renderer_host/render_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/buffered_resource_handler.cc
diff --git a/content/browser/renderer_host/buffered_resource_handler.cc b/content/browser/renderer_host/buffered_resource_handler.cc
index 98aae337af7b65d0d39e39a20b08640225dd6d3d..27ca3c87ff7782b6908d5eaf613ddd5c80ec27b8 100644
--- a/content/browser/renderer_host/buffered_resource_handler.cc
+++ b/content/browser/renderer_host/buffered_resource_handler.cc
@@ -329,7 +329,7 @@ bool BufferedResourceHandler::SelectNextHandler(bool* defer) {
host_->CreateResourceHandlerForDownload(
request_,
true, // is_content_initiated
- DownloadSaveInfo(),
+ scoped_ptr<DownloadSaveInfo>(new DownloadSaveInfo()),
DownloadResourceHandler::OnStartedCallback()));
return UseAlternateNextHandler(handler.Pass());
}
« no previous file with comments | « content/browser/download/save_file.cc ('k') | content/browser/renderer_host/render_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698