diff options
Diffstat (limited to 'Source/WebCore/css/CSSFunctionValue.cpp')
-rw-r--r-- | Source/WebCore/css/CSSFunctionValue.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/WebCore/css/CSSFunctionValue.cpp b/Source/WebCore/css/CSSFunctionValue.cpp index 522ad9fd1..628a989ba 100644 --- a/Source/WebCore/css/CSSFunctionValue.cpp +++ b/Source/WebCore/css/CSSFunctionValue.cpp @@ -28,6 +28,7 @@ #include "CSSParserValues.h" #include "CSSValueList.h" +#include "MemoryInstrumentation.h" #include <wtf/PassOwnPtr.h> namespace WebCore { @@ -49,4 +50,11 @@ String CSSFunctionValue::customCssText() const return result; } +void CSSFunctionValue::reportDescendantMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const +{ + MemoryClassInfo info(memoryObjectInfo, this, MemoryInstrumentation::CSS); + info.addMember(m_name); + info.addInstrumentedMember(m_args); +} + } |