-
yurys@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=74100 Memory agent now returns counters for nodes with given names. For each object group root user will see total number of its descendtants and per tag name counts. This patch also moves generic CounterVisitor code out of V8 bindings. It may well be used with both JS engines. Reviewed by Pavel Feldman. * GNUmakefile.list.am: * Target.pri: * WebCore.gypi: * WebCore.vcproj/WebCore.vcproj: * WebCore.xcodeproj/project.pbxproj: * bindings/js/ScriptProfiler.h: (WebCore::ScriptProfiler::visitJSDOMWrappers): * bindings/v8/ScriptProfiler.cpp: (WebCore::ScriptProfiler::visitJSDOMWrappers): * bindings/v8/ScriptProfiler.h: * inspector/DOMWrapperVisitor.h: Added. (WebCore::DOMWrapperVisitor::~DOMWrapperVisitor): * inspector/Inspector.json: * inspector/InspectorMemoryAgent.cpp: (WebCore::InspectorMemoryAgent::getDOMNodeCount): * inspector/InspectorMemoryAgent.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@102569 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ef02d6ed