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

Unified Diff: components/autofill/content/browser/wallet/wallet_signin_helper.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/content/browser/wallet/wallet_signin_helper.cc
diff --git a/components/autofill/content/browser/wallet/wallet_signin_helper.cc b/components/autofill/content/browser/wallet/wallet_signin_helper.cc
index 92a228db94c9eee39d6767f9012bc151569da65f..f7b0fbce30003ab41dc8ed66377f3fc8cc848ddb 100644
--- a/components/autofill/content/browser/wallet/wallet_signin_helper.cc
+++ b/components/autofill/content/browser/wallet/wallet_signin_helper.cc
@@ -103,8 +103,7 @@ void WalletSigninHelper::StartPassiveSignin(size_t user_index) {
DCHECK(!url_fetcher_);
const GURL& url = wallet::GetPassiveAuthUrl(user_index);
- url_fetcher_.reset(net::URLFetcher::Create(
- 0, url, net::URLFetcher::GET, this));
+ url_fetcher_ = net::URLFetcher::Create(0, url, net::URLFetcher::GET, this);
url_fetcher_->SetRequestContext(getter_);
url_fetcher_->Start();
}

Powered by Google App Engine
This is Rietveld 408576698