Commit 35b4b0bd authored by dcheng's avatar dcheng Committed by Commit bot

Remove implicit conversions from scoped_refptr to T* in components/autofill/

This patch was generated by running the rewrite_scoped_refptr clang tool
on a Linux build.

BUG=110610

Review URL: https://codereview.chromium.org/503883005

Cr-Commit-Position: refs/heads/master@{#291956}
parent 6afa1700
......@@ -729,10 +729,8 @@ class WalletClientTest : public testing::Test {
virtual ~WalletClientTest() {}
virtual void SetUp() OVERRIDE {
wallet_client_.reset(
new WalletClient(request_context_,
&delegate_,
GURL(kMerchantUrl)));
wallet_client_.reset(new WalletClient(
request_context_.get(), &delegate_, GURL(kMerchantUrl)));
}
virtual void TearDown() OVERRIDE {
......
......@@ -56,7 +56,7 @@ class WalletSigninHelperTest : public testing::Test {
virtual void SetUp() OVERRIDE {
signin_helper_.reset(
new WalletSigninHelper(&mock_delegate_, request_context_));
new WalletSigninHelper(&mock_delegate_, request_context_.get()));
}
virtual void TearDown() OVERRIDE {
......
......@@ -70,7 +70,7 @@ class AutofillDownloadTest : public AutofillDownloadManager::Observer,
request_context_(new net::TestURLRequestContextGetter(
base::MessageLoopProxy::current())),
download_manager_(&driver_, prefs_.get(), this) {
driver_.SetURLRequestContext(request_context_);
driver_.SetURLRequestContext(request_context_.get());
}
void LimitCache(size_t cache_size) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment