-
loislo@chromium.org authored
Web Inspector: NMI: remove the dependency of platform sources from WebCore header introduced by NMI instrumentation. https://bugs.webkit.org/show_bug.cgi?id=96367 Reviewed by Yury Semikhatsky. the target is to move 'platform' specific instrumentation code from WebCoreMemoryInstrumentation into the new PlatformMemoryInstrumentation. Drive by fix: New type DOM.Image was introduced. * CMakeLists.txt: * GNUmakefile.list.am: * Target.pri: * WebCore.gypi: * WebCore.vcproj/WebCore.vcproj: * WebCore.xcodeproj/project.pbxproj: * dom/WebCoreMemoryInstrumentation.cpp: (WebCore): * dom/WebCoreMemoryInstrumentation.h: (WebCoreMemoryTypes): * inspector/InspectorMemoryAgent.cpp: (WebCore): * platform/KURL.cpp: * platform/KURLGoogle.cpp: * platform/PlatformMemoryInstrumentation.cpp: Copied from Source/WebCore/platform/graphics/GeneratedImage.cpp. (WebCore): * platform/PlatformMemoryInstrumentation.h: Copied from Source/WebCore/platform/graphics/GeneratedImage.cpp. (WebCore): (PlatformMemoryTypes): * platform/SharedBuffer.cpp: * platform/TreeShared.h: (WebCore::TreeShared::reportMemoryUsage): * platform/graphics/BitmapImage.cpp: (WebCore::BitmapImage::reportMemoryUsage): * platform/graphics/CrossfadeGeneratedImage.cpp: (WebCore::CrossfadeGeneratedImage::reportMemoryUsage): * platform/graphics/GeneratedImage.cpp: (WebCore::GeneratedImage::reportMemoryUsage): * platform/graphics/GeneratorGeneratedImage.cpp: (WebCore::GeneratorGeneratedImage::reportMemoryUsage): * platform/graphics/GeneratorGeneratedImage.h: * platform/graphics/Image.cpp: (WebCore::Image::reportMemoryUsage): * platform/network/FormData.cpp: (WebCore::FormData::reportMemoryUsage): * platform/network/ResourceRequestBase.cpp: (WebCore::ResourceRequestBase::reportMemoryUsage): * platform/network/ResourceResponseBase.cpp: (WebCore::ResourceResponseBase::reportMemoryUsage): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128451 268f45cc-cd09-0410-ab3c-d52691b4dbfc
5e218c9f