-
loislo@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=97964 Reviewed by Yury Semikhatsky. Source/WebCore: MemoryInstrumentationString.h include was added. * dom/WebCoreMemoryInstrumentation.h: Source/WebKit/chromium: The expectations were fixed because old instrumentation had wrong detector for BufferInternal type of storage. * tests/MemoryInstrumentationTest.cpp: (WebCore::TEST): Source/WTF: MemoryInstrumentationString.h was added. Intrusive instrumentation was removed. * GNUmakefile.list.am: * WTF.gypi: * WTF.pro: * WTF.vcproj/WTF.vcproj: * WTF.xcodeproj/project.pbxproj: * wtf/MemoryInstrumentation.h: (WTF): * wtf/MemoryInstrumentationString.h: Added. (WTF): (WTF::reportMemoryUsage): * wtf/text/AtomicString.cpp: (WTF): * wtf/text/AtomicString.h: (AtomicString): * wtf/text/CString.h: (WTF::CStringBuffer::length): * wtf/text/StringImpl.cpp: * wtf/text/StringImpl.h: (WTF::StringImpl::usesInternalBuffer): (WTF::StringImpl::baseString): (StringImpl): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130144 268f45cc-cd09-0410-ab3c-d52691b4dbfc
506e5c28