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

Unified Diff: cloud_print/gcp20/prototype/cloud_print_request.cc

Issue 1117703002: Adjust URLFetcher::Create API so that object is returned as scoped_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix another failure missed by my regex Created 5 years, 8 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: cloud_print/gcp20/prototype/cloud_print_request.cc
diff --git a/cloud_print/gcp20/prototype/cloud_print_request.cc b/cloud_print/gcp20/prototype/cloud_print_request.cc
index 6eebcb5af88c3c57c1df20685f215237def3786e..a5b6d59f62e53f6ce114d5bf8014d59928815c30 100644
--- a/cloud_print/gcp20/prototype/cloud_print_request.cc
+++ b/cloud_print/gcp20/prototype/cloud_print_request.cc
@@ -26,7 +26,7 @@ const uint32 kDefaultTimeout = 20; // in seconds
CloudPrintRequest::CloudPrintRequest(const GURL& url,
URLFetcher::RequestType method,
Delegate* delegate)
- : fetcher_(URLFetcher::Create(url, method, this)),
+ : fetcher_(URLFetcher::Create(url, method, this).Pass()),
delegate_(delegate) {
int load_flags = fetcher_->GetLoadFlags();
load_flags |= net::LOAD_DO_NOT_SEND_COOKIES;

Powered by Google App Engine
This is Rietveld 408576698