Index: third_party/WebKit/Source/core/inspector/InspectorDebuggerAgent.cpp |
diff --git a/third_party/WebKit/Source/core/inspector/InspectorDebuggerAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorDebuggerAgent.cpp |
index 21fd206572032922efe0db32ccffaff940be88f1..840b6473941a35dfed6b551caa472e2d0abd61ee 100644 |
--- a/third_party/WebKit/Source/core/inspector/InspectorDebuggerAgent.cpp |
+++ b/third_party/WebKit/Source/core/inspector/InspectorDebuggerAgent.cpp |
@@ -31,7 +31,6 @@ |
#include "core/inspector/InspectorDebuggerAgent.h" |
#include "bindings/core/v8/V8Binding.h" |
-#include "core/inspector/AsyncCallTracker.h" |
#include "core/inspector/ScriptAsyncCallStack.h" |
#include "core/inspector/v8/V8Debugger.h" |
#include "platform/ScriptForbiddenScope.h" |
@@ -40,7 +39,7 @@ |
InspectorDebuggerAgent::InspectorDebuggerAgent(InjectedScriptManager* injectedScriptManager, V8Debugger* debugger, int contextGroupId) |
: InspectorBaseAgent<InspectorDebuggerAgent, InspectorFrontend::Debugger>("Debugger") |
- , m_v8DebuggerAgent(V8DebuggerAgent::create(injectedScriptManager, debugger, this, contextGroupId)) |
+ , m_v8DebuggerAgent(adoptPtrWillBeNoop(new V8DebuggerAgent(injectedScriptManager, debugger, this, contextGroupId))) |
{ |
} |
@@ -54,7 +53,6 @@ |
DEFINE_TRACE(InspectorDebuggerAgent) |
{ |
visitor->trace(m_v8DebuggerAgent); |
- visitor->trace(m_asyncCallTracker); |
InspectorBaseAgent<InspectorDebuggerAgent, InspectorFrontend::Debugger>::trace(visitor); |
} |
@@ -253,16 +251,6 @@ |
void InspectorDebuggerAgent::debuggerAgentDisabled() |
{ |
m_instrumentingAgents->setInspectorDebuggerAgent(nullptr); |
-} |
- |
-void InspectorDebuggerAgent::asyncCallTrackingStateChanged(bool tracking) |
-{ |
- m_asyncCallTracker->asyncCallTrackingStateChanged(tracking); |
-} |
- |
-void InspectorDebuggerAgent::resetAsyncOperations() |
-{ |
- m_asyncCallTracker->resetAsyncOperations(); |
} |
bool InspectorDebuggerAgent::isPaused() |
@@ -299,7 +287,6 @@ |
void InspectorDebuggerAgent::init() |
{ |
m_v8DebuggerAgent->setInspectorState(m_state); |
- m_asyncCallTracker = adoptPtrWillBeNoop(new AsyncCallTracker(m_v8DebuggerAgent.get(), m_instrumentingAgents.get())); |
} |
void InspectorDebuggerAgent::setFrontend(InspectorFrontend* frontend) |