diff options
Diffstat (limited to 'Source/WTF/wtf/url/api/URLString.cpp')
-rw-r--r-- | Source/WTF/wtf/url/api/URLString.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/WTF/wtf/url/api/URLString.cpp b/Source/WTF/wtf/url/api/URLString.cpp index 9147fe399..cf46a3092 100644 --- a/Source/WTF/wtf/url/api/URLString.cpp +++ b/Source/WTF/wtf/url/api/URLString.cpp @@ -26,10 +26,18 @@ #include "config.h" #include "URLString.h" +#include <wtf/MemoryInstrumentation.h> + #if USE(WTFURL) namespace WTF { +void URLString::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const +{ + MemoryClassInfo info(memoryObjectInfo, this); + info.addMember(m_string); +} + #ifndef NDEBUG void URLString::print() const { |