diff options
Diffstat (limited to 'Source/WebCore/css/CSSRuleList.cpp')
-rw-r--r-- | Source/WebCore/css/CSSRuleList.cpp | 6 |
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 |