| Index: chrome/browser/extensions/api/identity/identity_api.cc
|
| diff --git a/chrome/browser/extensions/api/identity/identity_api.cc b/chrome/browser/extensions/api/identity/identity_api.cc
|
| index 17c973a1504d8baadbf6beafbbd2844f47a6a86c..3b9ba354af618a1f76338ee8930bddf2b1cce099 100644
|
| --- a/chrome/browser/extensions/api/identity/identity_api.cc
|
| +++ b/chrome/browser/extensions/api/identity/identity_api.cc
|
| @@ -325,7 +325,7 @@ bool IdentityGetAuthTokenFunction::RunAsync() {
|
|
|
| std::string account_key = GetPrimaryAccountId(GetProfile());
|
|
|
| - if (params->details->account.get()) {
|
| + if (params->details.get() && params->details->account.get()) {
|
| std::string detail_key =
|
| extensions::IdentityAPI::GetFactoryInstance()
|
| ->Get(GetProfile())
|
|
|