Web Inspector: NMI: switch to non intrusive instrumentation of ParsedURL.
authorloislo@chromium.org <loislo@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 2 Oct 2012 17:55:54 +0000 (17:55 +0000)
committerloislo@chromium.org <loislo@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 2 Oct 2012 17:55:54 +0000 (17:55 +0000)
commit2f6978bd89c6ef124867f57f1fcdaef4d65f01d8
tree95411e145b173578116c960143e0a3104acbcb7c
parentc6a0d01d775ef4279984b2c0e52fac36fbdd5756
Web Inspector: NMI: switch to non intrusive instrumentation of ParsedURL.
https://bugs.webkit.org/show_bug.cgi?id=98150

Reviewed by Yury Semikhatsky.

Source/WebCore:

Style changes.

* platform/KURLWTFURLImpl.h:
(WebCore::KURLWTFURLImpl::reportMemoryUsage):

Source/WTF:

Memory instrumentation for ParsedURL was extracted into separate header MemoryInstrumentationParsedURL.h

Drive by fix: unnecessary include was removed from String*.cpp files.

* GNUmakefile.list.am:
* WTF.gypi:
* WTF.pro:
* WTF.xcodeproj/project.pbxproj:
* wtf/MemoryInstrumentation.h:
(WTF):
* wtf/MemoryInstrumentationParsedURL.h: Added.
(WTF):
(WTF::reportMemoryUsage):
* wtf/text/AtomicString.cpp:
* wtf/text/StringImpl.cpp:
* wtf/text/WTFString.cpp:
* wtf/url/api/ParsedURL.cpp:
* wtf/url/api/ParsedURL.h:
* wtf/url/api/URLString.cpp:
* wtf/url/api/URLString.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@130187 268f45cc-cd09-0410-ab3c-d52691b4dbfc
16 files changed:
Source/WTF/ChangeLog
Source/WTF/GNUmakefile.list.am
Source/WTF/WTF.gypi
Source/WTF/WTF.pro
Source/WTF/WTF.xcodeproj/project.pbxproj
Source/WTF/wtf/MemoryInstrumentation.h
Source/WTF/wtf/MemoryInstrumentationParsedURL.h [new file with mode: 0644]
Source/WTF/wtf/text/AtomicString.cpp
Source/WTF/wtf/text/StringImpl.cpp
Source/WTF/wtf/text/WTFString.cpp
Source/WTF/wtf/url/api/ParsedURL.cpp
Source/WTF/wtf/url/api/ParsedURL.h
Source/WTF/wtf/url/api/URLString.cpp
Source/WTF/wtf/url/api/URLString.h
Source/WebCore/ChangeLog
Source/WebCore/platform/KURLWTFURLImpl.h