| Index: Source/core/inspector/InspectorDebuggerAgent.cpp
|
| diff --git a/Source/core/inspector/InspectorDebuggerAgent.cpp b/Source/core/inspector/InspectorDebuggerAgent.cpp
|
| index 0ff0a40aaa1be2c9a475a1c2bcd2f5b1b4ed4f8d..92d82a7f58e582577765269e9a651de7c5922871 100644
|
| --- a/Source/core/inspector/InspectorDebuggerAgent.cpp
|
| +++ b/Source/core/inspector/InspectorDebuggerAgent.cpp
|
| @@ -765,47 +765,6 @@ void InspectorDebuggerAgent::didDeliverMutationRecords()
|
| m_asyncCallStackTracker.didFireAsyncCall();
|
| }
|
|
|
| -void InspectorDebuggerAgent::didPostPromiseTask(ExecutionContext* context, ExecutionContextTask* task, bool isResolved)
|
| -{
|
| - if (m_asyncCallStackTracker.isEnabled())
|
| - m_asyncCallStackTracker.didPostPromiseTask(context, task, isResolved, scriptDebugServer().currentCallFramesForAsyncStack());
|
| -}
|
| -
|
| -void InspectorDebuggerAgent::willPerformPromiseTask(ExecutionContext* context, ExecutionContextTask* task)
|
| -{
|
| - if (m_asyncCallStackTracker.isEnabled())
|
| - m_asyncCallStackTracker.willPerformPromiseTask(context, task);
|
| -}
|
| -
|
| -void InspectorDebuggerAgent::didPerformPromiseTask()
|
| -{
|
| - if (m_asyncCallStackTracker.isEnabled())
|
| - m_asyncCallStackTracker.didFireAsyncCall();
|
| -}
|
| -
|
| -bool InspectorDebuggerAgent::isPromiseTrackerEnabled()
|
| -{
|
| - return m_promiseTracker.isEnabled();
|
| -}
|
| -
|
| -void InspectorDebuggerAgent::didCreatePromise(const ScriptObject& promise)
|
| -{
|
| - if (m_promiseTracker.isEnabled())
|
| - m_promiseTracker.didCreatePromise(promise);
|
| -}
|
| -
|
| -void InspectorDebuggerAgent::didUpdatePromiseParent(const ScriptObject& promise, const ScriptObject& parentPromise)
|
| -{
|
| - if (m_promiseTracker.isEnabled())
|
| - m_promiseTracker.didUpdatePromiseParent(promise, parentPromise);
|
| -}
|
| -
|
| -void InspectorDebuggerAgent::didUpdatePromiseState(const ScriptObject& promise, V8PromiseCustom::PromiseState state, const ScriptValue& result)
|
| -{
|
| - if (m_promiseTracker.isEnabled())
|
| - m_promiseTracker.didUpdatePromiseState(promise, state, result);
|
| -}
|
| -
|
| void InspectorDebuggerAgent::pause(ErrorString*)
|
| {
|
| if (m_javaScriptPauseScheduled)
|
| @@ -1244,7 +1203,6 @@ void InspectorDebuggerAgent::clear()
|
| m_scripts.clear();
|
| m_breakpointIdToDebugServerBreakpointIds.clear();
|
| m_asyncCallStackTracker.clear();
|
| - m_promiseTracker.clear();
|
| m_continueToLocationBreakpointId = String();
|
| clearBreakDetails();
|
| m_javaScriptPauseScheduled = false;
|
| @@ -1284,7 +1242,6 @@ void InspectorDebuggerAgent::reset()
|
| m_scripts.clear();
|
| m_breakpointIdToDebugServerBreakpointIds.clear();
|
| m_asyncCallStackTracker.clear();
|
| - m_promiseTracker.clear();
|
| if (m_frontend)
|
| m_frontend->globalObjectCleared();
|
| }
|
|
|