diff options
Diffstat (limited to 'Source/WebCore/svg/SVGPaint.cpp')
-rw-r--r-- | Source/WebCore/svg/SVGPaint.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/WebCore/svg/SVGPaint.cpp b/Source/WebCore/svg/SVGPaint.cpp index 8cf3d7e56..4d84f5221 100644 --- a/Source/WebCore/svg/SVGPaint.cpp +++ b/Source/WebCore/svg/SVGPaint.cpp @@ -24,6 +24,7 @@ #if ENABLE(SVG) #include "SVGPaint.h" +#include "MemoryInstrumentation.h" #include "SVGException.h" #include "SVGURIReference.h" #include <wtf/text/WTFString.h> @@ -111,6 +112,12 @@ PassRefPtr<SVGPaint> SVGPaint::cloneForCSSOM() const return adoptRef(new SVGPaint(*this)); } +void SVGPaint::reportDescendantMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const +{ + MemoryClassInfo info(memoryObjectInfo, this, MemoryInstrumentation::CSS); + info.addMember(m_uri); +} + } #endif // ENABLE(SVG) |