| Index: chrome/common/net/gaia/oauth2_mint_token_flow_unittest.cc
|
| diff --git a/chrome/common/net/gaia/oauth2_mint_token_flow_unittest.cc b/chrome/common/net/gaia/oauth2_mint_token_flow_unittest.cc
|
| index 77213cda55bcb0ba419fc0d6dd59d4957a9e32b8..25f021744b7a8a556bff29adb6d781bc793d3e72 100644
|
| --- a/chrome/common/net/gaia/oauth2_mint_token_flow_unittest.cc
|
| +++ b/chrome/common/net/gaia/oauth2_mint_token_flow_unittest.cc
|
| @@ -161,9 +161,9 @@ class OAuth2MintTokenFlowTest : public testing::Test {
|
| std::string ext_id = "ext1";
|
| std::string client_id = "client1";
|
| std::vector<std::string> scopes(CreateTestScopes());
|
| - flow_.reset(new MockMintTokenFlow(
|
| + flow_ = new MockMintTokenFlow(
|
| delegate,
|
| - OAuth2MintTokenFlow::Parameters(rt, ext_id, client_id, scopes, mode)));
|
| + OAuth2MintTokenFlow::Parameters(rt, ext_id, client_id, scopes, mode));
|
| }
|
|
|
| // Helper to parse the given string to DictionaryValue.
|
| @@ -174,7 +174,7 @@ class OAuth2MintTokenFlowTest : public testing::Test {
|
| return static_cast<base::DictionaryValue*>(value.release());
|
| }
|
|
|
| - scoped_ptr<MockMintTokenFlow> flow_;
|
| + scoped_refptr<MockMintTokenFlow> flow_;
|
| StrictMock<MockDelegate> delegate_;
|
| };
|
|
|
|
|