diff options
Diffstat (limited to 'Source/WTF/wtf/text/AtomicString.cpp')
-rw-r--r-- | Source/WTF/wtf/text/AtomicString.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/WTF/wtf/text/AtomicString.cpp b/Source/WTF/wtf/text/AtomicString.cpp index cbb5a20ee..b91c60e80 100644 --- a/Source/WTF/wtf/text/AtomicString.cpp +++ b/Source/WTF/wtf/text/AtomicString.cpp @@ -26,6 +26,7 @@ #include "StringHash.h" #include <wtf/HashSet.h> +#include <wtf/MemoryInstrumentation.h> #include <wtf/Threading.h> #include <wtf/WTFThreadData.h> #include <wtf/unicode/UTF8.h> @@ -435,4 +436,10 @@ void AtomicString::show() const } #endif +void AtomicString::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const +{ + MemoryClassInfo info(memoryObjectInfo, this); + info.addMember(m_string); +} + } // namespace WTF |