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

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

Issue 9303013: [Coverity] Changed pass-by-value to pass-by-ref (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 11 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/download_resource_handler.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/download_resource_handler.cc
diff --git a/content/browser/download/download_resource_handler.cc b/content/browser/download/download_resource_handler.cc
index 87454ec148db40cb953fa381454d619d69912a22..8915f2a2ecfc067b4bdd4a136c873bd0e883911e 100644
--- a/content/browser/download/download_resource_handler.cc
+++ b/content/browser/download/download_resource_handler.cc
@@ -296,7 +296,7 @@ void DownloadResourceHandler::OnRequestClosed() {
void DownloadResourceHandler::StartOnUIThread(
scoped_ptr<DownloadCreateInfo> info,
- DownloadRequestHandle handle) {
+ const DownloadRequestHandle& handle) {
DownloadManager* download_manager = handle.GetDownloadManager();
if (!download_manager) {
// NULL in unittests or if the page closed right after starting the
« no previous file with comments | « content/browser/download/download_resource_handler.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698