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 853fb7c5d254b885e01a3900003b7c3f9783ef99..b6bce398f0101227e6079f383a4d0687a653f7d9 100644 |
--- a/chrome/browser/extensions/api/identity/identity_api.cc |
+++ b/chrome/browser/extensions/api/identity/identity_api.cc |
@@ -300,7 +300,7 @@ ExtensionFunction::ResponseAction IdentityGetAccountsFunction::Run() { |
++it) { |
api::identity::AccountInfo account_info; |
account_info.id = *it; |
- infos->Append(account_info.ToValue().release()); |
+ infos->Append(account_info.ToValue()); |
} |
return RespondNow(OneArgument(std::move(infos))); |