Remove unused ThreadSpecificInspectorCounters.
[WebKit-https.git] / Source / WebCore / inspector / InspectorTimelineAgent.cpp
index 77bade78c919489545eafaeacc922a3f59d7ee97..eaf4aac726fbe0bdeef14c18150dd39c35a2e0dc 100644 (file)
@@ -582,11 +582,9 @@ void InspectorTimelineAgent::setDOMCounters(Inspector::TypeBuilder::Timeline::Ti
             documentCount = InspectorCounters::counterValue(InspectorCounters::DocumentCounter);
             nodeCount = InspectorCounters::counterValue(InspectorCounters::NodeCounter);
         }
-        int listenerCount = ThreadLocalInspectorCounters::current().counterValue(ThreadLocalInspectorCounters::JSEventListenerCounter);
         RefPtr<Inspector::TypeBuilder::Timeline::DOMCounters> counters = Inspector::TypeBuilder::Timeline::DOMCounters::create()
             .setDocuments(documentCount)
-            .setNodes(nodeCount)
-            .setJsEventListeners(listenerCount);
+            .setNodes(nodeCount);
         record->setCounters(counters.release());
     }
 }