Make ObserverListThreadSafe key its observers by PlatformThreadId instead of MessageLoop.

This fixes a subtle behavior that drops RemoveObserver operations when the
current() loop is NULL. Now those operations will always succeed.

BUG=104826
TEST=base_unittests

Review URL: http://codereview.chromium.org/8635002

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


CrOS-Libchrome-Original-Commit: c2b1b307c22a71c62f17bf486ce26f0baf0281e2
2 files changed
tree: 85650d949f477f218f574224c95908badd465ab2
  1. base/
  2. build/
  3. dbus/
  4. ipc/
  5. testing/
  6. third_party/