Fix user-after-free error with ObserverList.  The problem is that if an ObserverListBase::Iterator is on the stack and one of the observers deletes the object holding the list, Iterator's destructor will use the deleted list.

BUG=84919
Review URL: http://codereview.chromium.org/7127001

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88151 0039d316-1c4b-4281-b951-d872f2087c98


CrOS-Libchrome-Original-Commit: 5267bce031a63fe478d29534a0155f6aef49654c
2 files changed
tree: 2b01cf500359d94b73496fb29f6a674016a89b59
  1. base/
  2. build/
  3. ipc/
  4. testing/
  5. third_party/