commit | 1aab77cd0870a5dd302f2628caf998fa733e7310 | [log] [tgz] |
---|---|---|
author | rsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | Thu Nov 24 05:34:04 2011 +0900 |
committer | Qijiang Fan <fqj@google.com> | Thu Jun 04 12:06:42 2020 +0900 |
tree | 85650d949f477f218f574224c95908badd465ab2 | |
parent | 1f144a30135a2f7ec4a1426095d06ccf4e18df9d [diff] |
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