#include "base/observer_list_threadsafe.h"
#include "base/compiler_specific.h"
#include "third_party/abseil-cpp/absl/base/attributes.h"
namespace base {
namespace internal {
ABSL_CONST_INIT thread_local const ObserverListThreadSafeBase::
NotificationDataBase* current_notification = nullptr;
const ObserverListThreadSafeBase::NotificationDataBase*&
ObserverListThreadSafeBase::GetCurrentNotification() {
MSAN_UNPOISON(
¤t_notification,
sizeof(const ObserverListThreadSafeBase::NotificationDataBase*));
return current_notification;
}
}
}