Make a copy before enumerating profiles because the list might change underneath.
If a profile is created/removed as a result of the call to AddProfile inside it will crash because the iterator is invalidated. BUG=319676 TEST=On Mac as described in the bug. Review URL: https://codereview.chromium.org/65643006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235736 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment