| Index: chrome/browser/extensions/api/identity/identity_apitest.cc
|
| diff --git a/chrome/browser/extensions/api/identity/identity_apitest.cc b/chrome/browser/extensions/api/identity/identity_apitest.cc
|
| index 2d7a39baf2316ba103e791e5f423ffe6adb2ddda..8173d3496d20740f0fa900c3630b39686910f72f 100644
|
| --- a/chrome/browser/extensions/api/identity/identity_apitest.cc
|
| +++ b/chrome/browser/extensions/api/identity/identity_apitest.cc
|
| @@ -373,8 +373,7 @@ class GetAuthTokenFunctionTest : public AsyncExtensionBrowserTest {
|
| }
|
|
|
| IdentityAPI* id_api() {
|
| - return IdentityAPI::GetFactoryInstance()->GetForProfile(
|
| - browser()->profile());
|
| + return IdentityAPI::GetFactoryInstance()->Get(browser()->profile());
|
| }
|
|
|
| const std::string GetPrimaryAccountId() {
|
| @@ -1056,8 +1055,7 @@ class RemoveCachedAuthTokenFunctionTest : public ExtensionBrowserTest {
|
| }
|
|
|
| IdentityAPI* id_api() {
|
| - return IdentityAPI::GetFactoryInstance()->GetForProfile(
|
| - browser()->profile());
|
| + return IdentityAPI::GetFactoryInstance()->Get(browser()->profile());
|
| }
|
|
|
| void SetCachedToken(IdentityTokenCacheValue& token_data) {
|
|
|