fix crash when identity.getAuthToken is called without an options parameter
This change updates the multi-account handling code to make sure the options parameter object is present before dereferencing it to find the "account" field. A new browser test calls getAuthToken without options. BUG=381637 Review URL: https://codereview.chromium.org/323563004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275587 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment