Use a single TLS slot for all ObserverListThreadSafe instances.

With this CL, a single TLS slot is used to store data about the
ObserverListThreadSafe notification being dispatched on one thread
rather than one TLS slot per ObserverListThreadSafe instance.

Bug: 728049
Change-Id: Ibae6538cd77ee55594e231ae24c09b0fb7f43ada
Reviewed-on: https://chromium-review.googlesource.com/740989
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Commit-Queue: François Doray <fdoray@chromium.org>
Cr-Commit-Position: refs/heads/master@{#512531}

CrOS-Libchrome-Original-Commit: f248acd91305c44efac83e7149edde6112055b43
2 files changed
tree: dc39816d31af76c011e284787d37f5883e3e8e1c
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/