Index: Source/core/loader/cache/MemoryCache.cpp |
diff --git a/Source/core/loader/cache/MemoryCache.cpp b/Source/core/loader/cache/MemoryCache.cpp |
index 9259a211a022ed4739f2f587f4566c2481874f10..509a5965cc9b6b347e974a0b2887c638eb848e0b 100644 |
--- a/Source/core/loader/cache/MemoryCache.cpp |
+++ b/Source/core/loader/cache/MemoryCache.cpp |
@@ -35,16 +35,12 @@ |
#include "ResourceHandle.h" |
#include "SecurityOrigin.h" |
#include "SecurityOriginHash.h" |
-#include "WebCoreMemoryInstrumentation.h" |
#include "WorkerContext.h" |
#include "WorkerLoaderProxy.h" |
#include "WorkerThread.h" |
#include <stdio.h> |
#include <wtf/CurrentTime.h> |
#include <wtf/MathExtras.h> |
-#include <wtf/MemoryInstrumentationHashMap.h> |
-#include <wtf/MemoryInstrumentationVector.h> |
-#include <wtf/MemoryObjectInfo.h> |
#include <wtf/TemporaryChange.h> |
#include <wtf/text/CString.h> |
@@ -696,19 +692,6 @@ MemoryCache::Statistics MemoryCache::getStatistics() |
return stats; |
} |
-void MemoryCache::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const |
-{ |
- MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::MemoryCacheStructures); |
- memoryObjectInfo->setClassName("MemoryCache"); |
- info.addMember(m_resources, "resources"); |
- info.addMember(m_allResources, "allResources"); |
- info.addMember(m_liveDecodedResources, "liveDecodedResources"); |
-#if !ENABLE(CACHE_PARTITIONING) |
- for (CachedResourceMap::const_iterator i = m_resources.begin(); i != m_resources.end(); ++i) |
- info.addMember(i->value, "cachedResourceItem", WTF::RetainingPointer); |
-#endif |
-} |
- |
void MemoryCache::setDisabled(bool disabled) |
{ |
m_disabled = disabled; |