Index: Source/core/css/StylePropertySet.cpp |
diff --git a/Source/core/css/StylePropertySet.cpp b/Source/core/css/StylePropertySet.cpp |
index 8d6f5d9461d42711759c0316ae188bf1bb51ec33..1fb165423d8423819c4990bdb22f8ca0b9c651f2 100644 |
--- a/Source/core/css/StylePropertySet.cpp |
+++ b/Source/core/css/StylePropertySet.cpp |
@@ -32,7 +32,6 @@ |
#include "StylePropertyShorthand.h" |
#include "StyleSheetContents.h" |
#include <wtf/BitArray.h> |
-#include <wtf/MemoryInstrumentationVector.h> |
#include <wtf/text/StringBuilder.h> |
#ifndef NDEBUG |
@@ -1260,18 +1259,6 @@ unsigned StylePropertySet::averageSizeInBytes() |
return sizeForImmutableStylePropertySetWithPropertyCount(4); |
} |
-void StylePropertySet::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const |
-{ |
- size_t actualSize = m_isMutable ? sizeof(StylePropertySet) : sizeForImmutableStylePropertySetWithPropertyCount(m_arraySize); |
- MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CSS, actualSize); |
- if (m_isMutable) |
- info.addMember(mutablePropertyVector(), "mutablePropertyVector()"); |
- else { |
- for (unsigned i = 0; i < propertyCount(); ++i) |
- info.addMember(propertyAt(i).value(), "value"); |
- } |
-} |
- |
// See the function above if you need to update this. |
struct SameSizeAsStylePropertySet : public RefCounted<SameSizeAsStylePropertySet> { |
unsigned bitfield; |