Remove unused ThreadSpecificInspectorCounters.
[WebKit-https.git] / Source / WebCore / bindings / js / JSEventListener.cpp
index 9a4bf000b5d49658ea2efdc52b5ad45ab101b484..4d3f1f0144bb819c4830b10510dfa0746f67fe36 100644 (file)
@@ -51,16 +51,10 @@ JSEventListener::JSEventListener(JSObject* function, JSObject* wrapper, bool isA
         m_jsFunction = JSC::Weak<JSC::JSObject>(function);
     } else
         ASSERT(!function);
-#if ENABLE(INSPECTOR)
-    ThreadLocalInspectorCounters::current().incrementCounter(ThreadLocalInspectorCounters::JSEventListenerCounter);
-#endif
 }
 
 JSEventListener::~JSEventListener()
 {
-#if ENABLE(INSPECTOR)
-    ThreadLocalInspectorCounters::current().decrementCounter(ThreadLocalInspectorCounters::JSEventListenerCounter);
-#endif
 }
 
 JSObject* JSEventListener::initializeJSFunction(ScriptExecutionContext*) const