summaryrefslogtreecommitdiffstats
path: root/components/autofill/browser/wallet
diff options
context:
space:
mode:
Diffstat (limited to 'components/autofill/browser/wallet')
-rw-r--r--components/autofill/browser/wallet/encryption_escrow_client.cc4
-rw-r--r--components/autofill/browser/wallet/wallet_client.cc4
2 files changed, 4 insertions, 4 deletions
diff --git a/components/autofill/browser/wallet/encryption_escrow_client.cc b/components/autofill/browser/wallet/encryption_escrow_client.cc
index 53754a2..837949e 100644
--- a/components/autofill/browser/wallet/encryption_escrow_client.cc
+++ b/components/autofill/browser/wallet/encryption_escrow_client.cc
@@ -45,7 +45,7 @@ EncryptionEscrowClient::EncryptionEscrowClient(
: context_getter_(context_getter),
observer_(observer),
request_type_(NO_PENDING_REQUEST) {
- DCHECK(context_getter_);
+ DCHECK(context_getter_.get());
DCHECK(observer_);
}
@@ -119,7 +119,7 @@ void EncryptionEscrowClient::MakeRequest(const GURL& url,
request_.reset(net::URLFetcher::Create(
1, url, net::URLFetcher::POST, this));
- request_->SetRequestContext(context_getter_);
+ request_->SetRequestContext(context_getter_.get());
DVLOG(1) << "url=" << url << ", post_body=" << post_body;
request_->SetUploadData(kApplicationMimeType, post_body);
request_->Start();
diff --git a/components/autofill/browser/wallet/wallet_client.cc b/components/autofill/browser/wallet/wallet_client.cc
index ace0f5d..d1c0f34 100644
--- a/components/autofill/browser/wallet/wallet_client.cc
+++ b/components/autofill/browser/wallet/wallet_client.cc
@@ -238,7 +238,7 @@ WalletClient::WalletClient(net::URLRequestContextGetter* context_getter,
request_type_(NO_PENDING_REQUEST),
one_time_pad_(kOneTimePadLength),
encryption_escrow_client_(context_getter, this) {
- DCHECK(context_getter_);
+ DCHECK(context_getter_.get());
DCHECK(delegate_);
}
@@ -632,7 +632,7 @@ void WalletClient::MakeWalletRequest(const GURL& url,
request_.reset(net::URLFetcher::Create(
0, url, net::URLFetcher::POST, this));
- request_->SetRequestContext(context_getter_);
+ request_->SetRequestContext(context_getter_.get());
DVLOG(1) << "Making request to " << url << " with post_body=" << post_body;
request_->SetUploadData(kJsonMimeType, post_body);
request_started_timestamp_ = base::Time::Now();