From 6bbb7fbbac94d0f511a7bd0cbd50854ab643bfb2 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Tue, 18 Sep 2012 15:53:33 +0200 Subject: Imported WebKit commit c7503cef7ecb236730d1309676ab9fc723fd061d (http://svn.webkit.org/repository/webkit/trunk@128886) New snapshot with various build fixes --- Source/WTF/wtf/text/AtomicString.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Source/WTF/wtf/text/AtomicString.cpp') 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 +#include #include #include #include @@ -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 -- cgit v1.2.1