diff options
Diffstat (limited to 'Source/WebCore/bindings/js/ScriptProfiler.h')
-rw-r--r-- | Source/WebCore/bindings/js/ScriptProfiler.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/WebCore/bindings/js/ScriptProfiler.h b/Source/WebCore/bindings/js/ScriptProfiler.h index 2211971a8..a21eada4c 100644 --- a/Source/WebCore/bindings/js/ScriptProfiler.h +++ b/Source/WebCore/bindings/js/ScriptProfiler.h @@ -28,7 +28,6 @@ #define ScriptProfiler_h #if ENABLE(JAVASCRIPT_DEBUGGER) -#include "InspectorValues.h" #include "ScriptHeapSnapshot.h" #include "ScriptProfile.h" #include "ScriptState.h" @@ -38,7 +37,7 @@ namespace WebCore { class DOMWrapperVisitor; -class InjectedScriptManager; +class ScriptObject; class ScriptProfiler { WTF_MAKE_NONCOPYABLE(ScriptProfiler); @@ -53,7 +52,7 @@ public: }; static void collectGarbage(); - static PassRefPtr<InspectorValue> objectByHeapObjectId(unsigned id, InjectedScriptManager*); + static ScriptObject objectByHeapObjectId(unsigned id); static void start(ScriptState* state, const String& title); static PassRefPtr<ScriptProfile> stop(ScriptState* state, const String& title); static PassRefPtr<ScriptHeapSnapshot> takeHeapSnapshot(const String&, HeapSnapshotProgress*) { return 0; } |