summaryrefslogtreecommitdiff
path: root/Source/WebCore/css/CSSRuleList.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/css/CSSRuleList.cpp')
-rw-r--r--Source/WebCore/css/CSSRuleList.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/WebCore/css/CSSRuleList.cpp b/Source/WebCore/css/CSSRuleList.cpp
index a158d6f2e..aed1a7cd9 100644
--- a/Source/WebCore/css/CSSRuleList.cpp
+++ b/Source/WebCore/css/CSSRuleList.cpp
@@ -51,4 +51,10 @@ void StaticCSSRuleList::deref()
delete this;
}
+void StaticCSSRuleList::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
+{
+ MemoryClassInfo info(memoryObjectInfo, this, MemoryInstrumentation::CSS);
+ info.addInstrumentedVector(m_rules);
+}
+
} // namespace WebCore