Remove unused ThreadSpecificInspectorCounters.
[WebKit-https.git] / Source / WebCore / inspector / InspectorCounters.h
index 29bd1bd62de8fddb1790c202d50633b1579cbd28..e216c1c2c0cc1dcf8b3e6bfd838acc2c1a65156e 100644 (file)
@@ -83,36 +83,6 @@ private:
 #endif
 };
 
-
-#if ENABLE(INSPECTOR)
-class ThreadLocalInspectorCounters {
-    WTF_MAKE_FAST_ALLOCATED;
-public:
-    enum CounterType {
-        JSEventListenerCounter,
-        CounterTypeLength
-    };
-    ThreadLocalInspectorCounters();
-
-    inline void incrementCounter(CounterType type)
-    {
-        ++m_counters[type];
-    }
-
-    inline void decrementCounter(CounterType type)
-    {
-        --m_counters[type];
-    }
-
-    int counterValue(CounterType);
-
-    static ThreadLocalInspectorCounters& current();
-
-private:
-    int m_counters[CounterTypeLength];
-};
-#endif
-
 } // namespace WebCore
 
 #endif // !defined(InspectorCounters_h)