diff options
Diffstat (limited to 'Source/WebCore/css/ShadowValue.cpp')
-rw-r--r-- | Source/WebCore/css/ShadowValue.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/WebCore/css/ShadowValue.cpp b/Source/WebCore/css/ShadowValue.cpp index 14c7cda8c..5db003651 100644 --- a/Source/WebCore/css/ShadowValue.cpp +++ b/Source/WebCore/css/ShadowValue.cpp @@ -21,6 +21,7 @@ #include "ShadowValue.h" #include "CSSPrimitiveValue.h" +#include "MemoryInstrumentation.h" #include "PlatformString.h" namespace WebCore { @@ -77,4 +78,15 @@ String ShadowValue::customCssText() const return text; } +void ShadowValue::reportDescendantMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const +{ + MemoryClassInfo info(memoryObjectInfo, this, MemoryInstrumentation::CSS); + info.addInstrumentedMember(x); + info.addInstrumentedMember(y); + info.addInstrumentedMember(blur); + info.addInstrumentedMember(spread); + info.addInstrumentedMember(style); + info.addInstrumentedMember(color); +} + } |