Skip to content
  • darin@apple.com's avatar
    Remove unneeded ScriptGCEvent class · d5b7f4f8
    darin@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=122390
    
    Reviewed by Anders Carlsson.
    
    Source/ThirdParty:
    
    * gtest/xcode/gtest.xcodeproj/project.pbxproj: Let Xcode update this file.
    Not really part of this bug fix, but good to land anyway.
    
    Source/WebCore:
    
    * GNUmakefile.list.am: Removed ScriptGCEvent files.
    * Target.pri: Ditto.
    * UseJSC.cmake: Ditto.
    * WebCore.exp.in: Ditto.
    * WebCore.vcxproj/WebCore.vcxproj: Ditto.
    * WebCore.vcxproj/WebCore.vcxproj.filters: Ditto.
    * WebCore.xcodeproj/project.pbxproj: Ditto.
    * bindings/js/JSBindingsAllInOne.cpp: Ditto.
    * bindings/js/ScriptGCEvent.cpp: Removed.
    * bindings/js/ScriptGCEvent.h: Removed.
    
    * inspector/InspectorMemoryAgent.cpp: Removed include.
    
    * inspector/InspectorTimelineAgent.cpp:
    (WebCore::InspectorTimelineAgent::start): Removed GC event listening.
    Some day we might add it back, but for now it is dead code.
    (WebCore::InspectorTimelineAgent::stop): Ditto.
    (WebCore::usedHeapSize): Renamed from getUsedHeapSize and put the
    implementation here instead of indirecting through ScriptGCEvent.
    (WebCore::InspectorTimelineAgent::setDOMCounters): Updated for above changes.
    (WebCore::InspectorTimelineAgent::didCompleteCurrentRecord): Ditto.
    (WebCore::InspectorTimelineAgent::pushCurrentRecord): Ditto.
    
    * inspector/InspectorTimelineAgent.h: Removed include.
    
    * inspector/ScriptGCEventListener.h: Removed.
    
    * testing/MemoryInfo.h: Updated to get heap capacity and size directly
    instead of going through ScriptGCEvent.
    
    Source/WebKit:
    
    * WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in:
    Replaced symbol from ScriptGCEvent with symbol from JSDOMWindowBase.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156989 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    d5b7f4f8