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

Unified Diff: components/autofill/core/browser/wallet/real_pan_wallet_client.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: Remove unneeded Pass() calls 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: components/autofill/core/browser/wallet/real_pan_wallet_client.cc
diff --git a/components/autofill/core/browser/wallet/real_pan_wallet_client.cc b/components/autofill/core/browser/wallet/real_pan_wallet_client.cc
index 9c3c46760e595cc678a718cfa61c0fb0307a7a60..9d41ab45e4bc0d66d0587f394d52526fe48f4064 100644
--- a/components/autofill/core/browser/wallet/real_pan_wallet_client.cc
+++ b/components/autofill/core/browser/wallet/real_pan_wallet_client.cc
@@ -216,8 +216,8 @@ void RealPanWalletClient::OnGetTokenFailure(
}
void RealPanWalletClient::CreateRequest() {
- request_.reset(net::URLFetcher::Create(
- 0, GetUnmaskCardRequestUrl(), net::URLFetcher::POST, this));
+ request_ = net::URLFetcher::Create(0, GetUnmaskCardRequestUrl(),
+ net::URLFetcher::POST, this);
request_->SetRequestContext(context_getter_.get());
request_->SetLoadFlags(net::LOAD_DO_NOT_SAVE_COOKIES |
net::LOAD_DO_NOT_SEND_COOKIES | net::LOAD_DISABLE_CACHE);
« no previous file with comments | « components/autofill/core/browser/autofill_download_manager.cc ('k') | components/captive_portal/captive_portal_detector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698