Index: components/autofill/content/browser/wallet/wallet_signin_helper_unittest.cc |
diff --git a/components/autofill/content/browser/wallet/wallet_signin_helper_unittest.cc b/components/autofill/content/browser/wallet/wallet_signin_helper_unittest.cc |
index aa2cb43c069e8aa2ab2dfe9fb38730893b680eed..a1e91496e9446b782999b18469ad24a8ea93fceb 100644 |
--- a/components/autofill/content/browser/wallet/wallet_signin_helper_unittest.cc |
+++ b/components/autofill/content/browser/wallet/wallet_signin_helper_unittest.cc |
@@ -127,7 +127,8 @@ TEST_F(WalletSigninHelperTest, PassiveSigninFailedSigninNo) { |
TEST_F(WalletSigninHelperTest, GetWalletCookieValueWhenPresent) { |
EXPECT_CALL(mock_delegate_, OnDidFetchWalletCookieValue("gdToken")); |
net::CookieMonster* cookie_monster = |
- content::CreateInMemoryCookieStore(NULL)->GetCookieMonster(); |
+ content::CreateCookieStore(content::CookieStoreConfig())-> |
+ GetCookieMonster(); |
net::CookieOptions httponly_options; |
httponly_options.set_include_httponly(); |
scoped_ptr<net::CanonicalCookie> cookie( |
@@ -148,7 +149,8 @@ TEST_F(WalletSigninHelperTest, GetWalletCookieValueWhenPresent) { |
TEST_F(WalletSigninHelperTest, GetWalletCookieValueWhenMissing) { |
EXPECT_CALL(mock_delegate_, OnDidFetchWalletCookieValue(std::string())); |
net::CookieMonster* cookie_monster = |
- content::CreateInMemoryCookieStore(NULL)->GetCookieMonster(); |
+ content::CreateCookieStore(content::CookieStoreConfig())-> |
+ GetCookieMonster(); |
net::CookieOptions httponly_options; |
httponly_options.set_include_httponly(); |
scoped_ptr<net::CanonicalCookie> cookie( |