Skip to content
  • yurys@chromium.org's avatar
    Web Inspector: add Profiler.getHeapObjectId command · 503c0f87
    yurys@chromium.org authored
    https://bugs.webkit.org/show_bug.cgi?id=86211
    
    Reviewed by Pavel Feldman.
    
    Added Profiler.getHeapObjectId command to the protocol which allows to convert remote
    object id to heap snapshot object id.
    
    * bindings/js/ScriptProfiler.cpp:
    (WebCore::ScriptProfiler::getHeapObjectId):
    (WebCore):
    * bindings/js/ScriptProfiler.h:
    (WebCore):
    (ScriptProfiler):
    * bindings/v8/ScriptProfiler.cpp:
    (WebCore::ScriptProfiler::getHeapObjectId):
    (WebCore):
    * bindings/v8/ScriptProfiler.h:
    (WebCore):
    (ScriptProfiler):
    * inspector/InjectedScript.cpp:
    (WebCore::InjectedScript::findObjectById):
    (WebCore):
    * inspector/InjectedScript.h:
    (InjectedScript):
    * inspector/InjectedScriptSource.js:
    (.):
    * inspector/Inspector.json:
    * inspector/InspectorProfilerAgent.cpp:
    (WebCore::InspectorProfilerAgent::getHeapObjectId):
    (WebCore):
    * inspector/InspectorProfilerAgent.h:
    (InspectorProfilerAgent):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@116768 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    503c0f87