Index: Source/bindings/v8/V8PerIsolateData.cpp |
diff --git a/Source/bindings/v8/V8PerIsolateData.cpp b/Source/bindings/v8/V8PerIsolateData.cpp |
index 66e36ab87f168b6e0ea32f69e8cc991ad20256cc..8479e179aefe0d122ac021eefd716eb394cd603f 100644 |
--- a/Source/bindings/v8/V8PerIsolateData.cpp |
+++ b/Source/bindings/v8/V8PerIsolateData.cpp |
@@ -29,18 +29,6 @@ |
#include "ScriptGCEvent.h" |
#include "ScriptProfiler.h" |
#include "V8Binding.h" |
-#include <wtf/MemoryInstrumentationHashMap.h> |
-#include <wtf/MemoryInstrumentationVector.h> |
- |
-namespace WTF { |
- |
-// WrapperTypeInfo are statically allocated, don't count them. |
-template<> struct SequenceMemoryInstrumentationTraits<WebCore::WrapperTypeInfo*> { |
- template <typename I> static void reportMemoryUsage(I, I, MemoryClassInfo&) { } |
-}; |
- |
-} |
- |
namespace WebCore { |
V8PerIsolateData::V8PerIsolateData(v8::Isolate* isolate) |
@@ -101,29 +89,6 @@ v8::Handle<v8::FunctionTemplate> V8PerIsolateData::toStringTemplate() |
return v8::Local<v8::FunctionTemplate>::New(m_toStringTemplate.get()); |
} |
-void V8PerIsolateData::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const |
-{ |
- MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::Binding); |
- info.addMember(m_rawTemplatesForMainWorld, "rawTemplatesForMainWorld"); |
- info.addMember(m_rawTemplatesForNonMainWorld, "rawTemplatesForNonMainWorld"); |
- info.addMember(m_templatesForMainWorld, "templatesForMainWorld"); |
- info.addMember(m_templatesForNonMainWorld, "templatesForNonMainWorld"); |
- info.addMember(m_stringCache, "stringCache"); |
- info.addMember(m_integerCache, "integerCache"); |
- info.addMember(m_domDataList, "domDataList"); |
- info.addMember(m_workerDomDataStore, "workerDomDataStore"); |
- info.addMember(m_hiddenPropertyName, "hiddenPropertyName"); |
- info.addMember(m_gcEventData, "gcEventData"); |
- |
- info.addPrivateBuffer(ScriptProfiler::profilerSnapshotsSize(), WebCoreMemoryTypes::InspectorProfilerAgent, "HeapSnapshots", "snapshots"); |
- |
- info.ignoreMember(m_toStringTemplate); |
- info.ignoreMember(m_lazyEventListenerToStringTemplate); |
- info.ignoreMember(m_v8Null); |
- info.ignoreMember(m_liveRoot); |
- info.ignoreMember(m_auxiliaryContext); |
-} |
- |
bool V8PerIsolateData::hasPrivateTemplate(WrapperWorldType currentWorldType, void* privatePointer) |
{ |
if (currentWorldType == MainWorld) |