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

Unified Diff: chrome/browser/plugins/plugin_installer.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: chrome/browser/plugins/plugin_installer.cc
diff --git a/chrome/browser/plugins/plugin_installer.cc b/chrome/browser/plugins/plugin_installer.cc
index 6f4e32f5e62b5d39a36269b2fdf4da18552c98a2..74dd45b7988e78e47d181a76f05ae2d13e1a4e1f 100644
--- a/chrome/browser/plugins/plugin_installer.cc
+++ b/chrome/browser/plugins/plugin_installer.cc
@@ -54,7 +54,7 @@ void BeginDownload(
render_process_host_id,
render_view_host_routing_id,
true, // prefer_cache
- content::DownloadSaveInfo(),
+ scoped_ptr<content::DownloadSaveInfo>(new content::DownloadSaveInfo()),
callback);
if (error != net::OK) {
« no previous file with comments | « chrome/browser/extensions/webstore_installer.cc ('k') | chrome/browser/tab_contents/render_view_context_menu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698