Remove DynamicAnnotations.h?
[WebKit-https.git] / Source / WTF / wtf / ThreadSafeRefCounted.h
index 54c1e27ec40fe0e418f811e1d8ee38af4e6fc668..b70ba2c19f499f5d493f840daba16911abbf9e6a 100644 (file)
@@ -60,7 +60,6 @@
 #define ThreadSafeRefCounted_h
 
 #include <atomic>
-#include <wtf/DynamicAnnotations.h>
 #include <wtf/FastMalloc.h>
 #include <wtf/Noncopyable.h>
 
@@ -94,9 +93,7 @@ protected:
     // 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;
         }