#define ThreadSafeRefCounted_h
#include <atomic>
-#include <wtf/DynamicAnnotations.h>
#include <wtf/FastMalloc.h>
#include <wtf/Noncopyable.h>
// Returns whether the pointer should be freed or not.
bool derefBase()
{
- WTF_ANNOTATE_HAPPENS_BEFORE(&m_refCount);
if (--m_refCount <= 0) {
- WTF_ANNOTATE_HAPPENS_AFTER(&m_refCount);
return true;
}